feat: create item variants
This commit is contained in:
@@ -59,10 +59,10 @@ export function generateWorld(floor: number, runState: RunState): { world: World
|
||||
// Add starting items for testing if empty
|
||||
...(runState.inventory.items.length === 0 ? [
|
||||
createConsumable("health_potion", 2),
|
||||
createMeleeWeapon("iron_sword"),
|
||||
createMeleeWeapon("iron_sword", "sharp"), // Sharp sword variant
|
||||
createConsumable("throwing_dagger", 3),
|
||||
createRangedWeapon("pistol"),
|
||||
createArmour("leather_armor")
|
||||
createArmour("leather_armor", "heavy") // Heavy armour variant
|
||||
] : [])
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user