Skip to content

Commit

Permalink
dev-添加木棍
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhgithub committed Sep 9, 2023
1 parent 918eeda commit b317a73
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
Binary file added assets/textures/棍子.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/textures/苹果.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/textures/苹果叶子.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions staff.ron
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
(id:8,name:"AppleWood",icon_string:"textures/苹果树A面.png",staff_type:Voxel((id:10))),
(id:9,name:"AppleLeaf",icon_string:"textures/苹果叶子.png",staff_type:Voxel((id:11))),
(id:10,name:"Apple",icon_string:"textures/苹果.png",staff_type:Consumable(0)),
(id:11,name:"AppleLog",icon_string:"textures/棍子.png",staff_type:Consumable(0)),
],
// 掉落配置
filled_configs:[
// 叶子有 20% 概率掉 一个苹果
(voxel_id:11,filled_config:[
(possible: 0.2,staff_id: 10,times: 1),
(possible: 0.6,staff_id: 11,times: 2),
]),
],
)

0 comments on commit b317a73

Please sign in to comment.