一键导入
godot-item-system
Item system for item definitions, effect systems, and pickup logic. Use when the user mentions items, pickups, loot, or drop objects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Item system for item definitions, effect systems, and pickup logic. Use when the user mentions items, pickups, loot, or drop objects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | godot-item-system |
| description | Item system for item definitions, effect systems, and pickup logic. Use when the user mentions items, pickups, loot, or drop objects. |
Item definitions, effect systems, and pickup/drop logic.
Items/
├── item_data.gd # Item data resource
├── item_effect.gd # Base effect class
├── item_effect_heal.gd # Example heal effect
└── item_pickup/
└── item_pickup.gd/.tscn # Pickable item
GeneralNode/
├── ItemDropper/ # Item dropper
└── ItemMagnet/ # Item magnet area
Create a .tres file of type ItemData:
# item_data.gd
class_name ItemData extends Resource
@export var name: String = ""
@export_multiline var description: String = ""
@export var texture: Texture2D
@export var effects: Array[ItemEffect]
func use() -> bool:
for e in effects:
e.use()
return true
# item_effect_heal.gd
class_name ItemEffectHeal extends ItemEffect
@export var heal_amount: int = 1
func use() -> void:
GlobalPlayerManager.player.update_hp(heal_amount)
Place an ItemPickup node in the scene and assign its item_data property.
See references/code/ for the full implementation.
Dialog system for NPC conversations, branching choices, portrait animation, and typewriter text. Use when the user mentions dialog systems, NPC dialog, branching dialog, or dialog choices.
Enemy AI system with state-machine-driven behavior such as idle, chase, attack, and related states. Use when the user mentions enemy AI, monster behavior, chasing, or patrol enemies.
Combat collision system based on HitBox and HurtBox. Use when the user mentions attack detection, damage systems, combat collisions, HitBox, or HurtBox.
Inventory system for item slots, inventory UI, and item add/remove operations. Use when the user mentions inventory, inventory UI, or item management.
Level transition system for scene changes, transition animation, and player placement management. Use when the user mentions scene transitions, level transitions, portals, or transition animation.
NPC behavior system for patrols, wandering, and player interaction. Use when the user mentions NPC behavior, patrol NPCs, wandering, or NPC movement.