mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove old craftsman hammer, add migration
This commit is contained in:
parent
abacdfc719
commit
a1b4e0bdaf
@ -1,9 +0,0 @@
|
||||
ItemDef(
|
||||
name: "Old Hammer",
|
||||
description: "You don't quite remember where you got this from...",
|
||||
kind: Ingredient(
|
||||
kind: "CraftsmanHammer",
|
||||
),
|
||||
quality: Low,
|
||||
tags: [CraftingTool],
|
||||
)
|
@ -1941,11 +1941,7 @@
|
||||
Tool("common.items.tool.craftsman_hammer"): VoxTrans(
|
||||
"voxel.weapon.hammer.craftsman",
|
||||
(1.0, -1.0, 0.0), (-135.0, 90.0, 0.0), 0.9,
|
||||
),
|
||||
Ingredient("CraftsmanHammer"): VoxTrans(
|
||||
"voxel.weapon.hammer.craftsman",
|
||||
(1.0, 1.0, 0.0), (-135.0, 90.0, 0.0), 0.8,
|
||||
),
|
||||
),
|
||||
Ingredient("SewingSet"): Png(
|
||||
"element.items.sewing_set",
|
||||
),
|
||||
|
3
server/src/migrations/V35__rename_craftsman_hammer.sql
Normal file
3
server/src/migrations/V35__rename_craftsman_hammer.sql
Normal file
@ -0,0 +1,3 @@
|
||||
-- Replace old crafting hammer ingredient with functional 1h-hammer variant
|
||||
|
||||
UPDATE item SET item_definition_id = 'common.items.tool.craftsman_hammer' WHERE item_definition_id = 'common.items.crafting_tools.craftsman_hammer';
|
Loading…
Reference in New Issue
Block a user