feat(scripting): Phase 3 — items as content (non-weapon data-definitions + onUse) #196
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo#196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #183. Phase 1 migrated weapons (sword/bow) as data-defs; generalise to non-weapon items.
Scope
onUsebehaviour in Lua (split data-definition vs behaviour).item{ ... }registration (alongsideweapon{ ... }) feedingItemCatalogasIUsable/IEquippabledata-backed kinds.Definition of Done (delta)
item{ ... }with anonUsehandler is givable, renders with its art, and itsonUseruns server-validated (unit + harness screenshot).api.d.luaregenerates for the new registration;docs/scripting.mdupdated. Base DoD + multi-platform hold.Risolta da PR #203 (
6ee56a0): scripting Phase 3 consegnata — registrazioneitem{ … }non-arma cononUse, e una potion Lua (Items.Consumables.Potion,content/scripts/items/consumables/potion.lua) che cura all'uso, integrata nella pipeline d'uso esistente. Chiudo — completata.