First commit 🎉

This commit is contained in:
Tony Bark 2025-07-17 01:49:18 -04:00
commit 43ea213f9b
728 changed files with 37080 additions and 0 deletions

View file

@ -0,0 +1,79 @@
extends NineVerbCommands
# Override this if you want to register additional commands. (!) Don't forget
# to call super().
#func _init() -> void:
#super()
# Override this if you want to change the name that will identify this set of
# commands.
#static func get_script_name() -> String:
#return "NineVerbCommands"
# Called when there is not a Callable defined for a registered command.
# By default calls `walk_to()`.
func fallback() -> void:
super()
# Called when `E.current_command == Commands.WALK_TO` and E.command_fallback()
# is triggered.
func walk_to() -> void:
super()
# Called when `E.current_command == Commands.OPEN` and E.command_fallback()
# is triggered.
func open() -> void:
super()
# Called when `E.current_command == Commands.PICK_UP` and E.command_fallback()
# is triggered.
func pick_up() -> void:
super()
# Called when `E.current_command == Commands.PUSH` and E.command_fallback()
# is triggered.
func push() -> void:
super()
# Called when `E.current_command == Commands.CLOSE` and E.command_fallback()
# is triggered.
func close() -> void:
super()
# Called when `E.current_command == Commands.LOOK_AT` and E.command_fallback()
# is triggered.
func look_at() -> void:
super()
# Called when `E.current_command == Commands.PULL` and E.command_fallback()
# is triggered.
func pull() -> void:
super()
# Called when `E.current_command == Commands.GIVE` and E.command_fallback()
# is triggered.
func give() -> void:
super()
# Called when `E.current_command == Commands.TALK_TO` and E.command_fallback()
# is triggered.
func talk_to() -> void:
super()
# Called when `E.current_command == Commands.USE` and E.command_fallback()
# is triggered.
func use() -> void:
super()

View file

@ -0,0 +1 @@
uid://dp76ndkyh8upe

View file

@ -0,0 +1,34 @@
#class_name CustomCommands
extends PopochiuCommands
enum Commands {
#X_RAY, POWERFUL_HAND, HYPER_SCREAM
}
func _init() -> void:
super()
#E.register_command(Commands.X_RAY, "x ray", x_ray)
#E.register_command(Commands.POWERFUL_HAND, "powerful hand", powerful_hand)
#E.register_command(Commands.HYPER_SCREAM, "hyper scream", hyper_scream)
static func get_script_name() -> String:
return "CustomCommands"
func fallback() -> void:
super()
#func x_ray()-> void:
#pass
#
#
#func powerful_hand()-> void:
#pass
#
#
#func hyper_scream()-> void:
#pass

View file

@ -0,0 +1 @@
uid://be5gjf5r6shlb

View file

@ -0,0 +1,89 @@
extends PopochiuGraphicInterface
#region Virtual ####################################################################################
# Called when the GUI is blocked and not intended to handle input events.
func _on_blocked(props := { blocking = true }) -> void:
super(props)
# Called when the GUI is unblocked and can handle input events again.
func _on_unblocked() -> void:
super()
# Called to hide the GUI.
func _on_hidden() -> void:
super()
# Called to show the GUI.
func _on_shown() -> void:
super()
# Called when G.show_system_text() is triggered. Shows `msg` in the SystemText
# component.
func _on_system_text_shown(msg: String) -> void:
super(msg)
# Called once the player closes the SystemText component (by clicking the screen
# anywhere).
func _on_system_text_hidden() -> void:
super()
# Called when the mouse enters (hover) a `clickable`.
func _on_mouse_entered_clickable(clickable: PopochiuClickable) -> void:
super(clickable)
# Called when the mouse exits a `clickable`.
func _on_mouse_exited_clickable(clickable: PopochiuClickable) -> void:
super(clickable)
# Called when the mouse enters (hover) an `inventory_item`.
func _on_mouse_entered_inventory_item(inventory_item: PopochiuInventoryItem) -> void:
super(inventory_item)
# Called when the mouse exits an `inventory_item`.
func _on_mouse_exited_inventory_item(inventory_item: PopochiuInventoryItem) -> void:
super(inventory_item)
# Called when a dialog line is said be a `PopochiuCharacter` (this is when
# `PopochiuCharacter.say()` is called.
func _on_dialog_line_started() -> void:
super()
# Called when a dialog line finishes (this is after players click the screen
# anywhere to make the dialog line disappear).
func _on_dialog_line_finished() -> void:
super()
# Called when a `dialog` starts (after calling `PopochiuDialog.start()`).
func _on_dialog_started(dialog: PopochiuDialog) -> void:
super(dialog)
# Called when a `dialog` finishes (after calling `PopochiuDialog.stop()`).
func _on_dialog_finished(dialog: PopochiuDialog) -> void:
super(dialog)
# Called when an `item` in the inventory is selected (i.e. by clicking it).
func _on_inventory_item_selected(item: PopochiuInventoryItem) -> void:
super(item)
# Called by [b]cursor.gd[/b] to get the name of the cursor texture to show.
func _get_cursor_name() -> String:
return super()
#endregion

View file

@ -0,0 +1 @@
uid://be63otag0g1n0

View file

@ -0,0 +1,26 @@
@tool
extends PopochiuPopup
#region Virtual ####################################################################################
## Called when the popup is opened. At this point it is not visible yet.
func _open() -> void:
pass
## Called when the popup is closed. The node hides after calling this method.
func _close() -> void:
pass
## Called when OK is pressed.
func _on_ok() -> void:
pass
## Called when CANCEL or X (top-right corner) are pressed.
func _on_cancel() -> void:
pass
#endregion

View file

@ -0,0 +1 @@
uid://bydkkguscqppe

View file

@ -0,0 +1,40 @@
extends SierraCommands
func _init() -> void:
super()
static func get_script_name() -> String:
return "SierraCommands"
# Called when there is not a Callable defined for a registered command.
# By default calls walk().
func fallback() -> void:
super()
# Called when `E.current_command == Commands.WALK` and E.command_fallback()
# is triggered.
# By default makes the character walk to the clicked `PopochiuClickable`.
func walk() -> void:
super()
# Called when `E.current_command == Commands.LOOK` and E.command_fallback()
# is triggered.
func look() -> void:
super()
# Called when `E.current_command == Commands.INTERACT` and E.command_fallback()
# is triggered.
func interact() -> void:
super()
# Called when `E.current_command == Commands.TALK` and E.command_fallback()
# is triggered.
func talk() -> void:
super()

View file

@ -0,0 +1 @@
uid://c3a3ruh3uojep

View file

@ -0,0 +1,29 @@
extends SimpleClickCommands
# Called when `E.command_fallback()` is triggered.
# By default evaluates if the clicked object was a `PopochiuClickable` or a
# `PopochiuInventoryItem` and calls the corresponding method depending on the
# object type and the clicked mouse button.
func fallback() -> void:
super()
# Called when players click (LMB) a `PopochiuClickable`.
func click_clickable() -> void:
super()
# Called when players right click (RMB) a `PopochiuClickable`.
func right_click_clickable() -> void:
super()
# Called when players click (LMB) a `PopochiuInventoryItem`.
func click_inventory_item() -> void:
super()
# Called when players right click (RMB) a `PopochiuInventoryItem`.
func right_click_inventory_item() -> void:
super()

View file

@ -0,0 +1 @@
uid://bht4lbua380sm