Allow mechanisms to be linked, and allow storing links in schematics.
This commit is contained in:
parent
8f98a7fa2d
commit
82817a1cb4
10 changed files with 438 additions and 104 deletions
|
|
@ -8,6 +8,8 @@ function ns.apply_key(m)
|
|||
eye_height = 1.6
|
||||
}
|
||||
m.eye_height = 1.6
|
||||
-- Switch hand appearance.
|
||||
m.inv:set_stack("main", 1, ItemStack("input_"..m.character))
|
||||
end
|
||||
|
||||
function ns.apply_vix(m)
|
||||
|
|
@ -17,6 +19,8 @@ function ns.apply_vix(m)
|
|||
eye_height = 1.5
|
||||
}
|
||||
m.eye_height = 1.5
|
||||
-- Switch hand appearance.
|
||||
m.inv:set_stack("main", 1, ItemStack("input_"..m.character))
|
||||
end
|
||||
|
||||
function ns.swap_character(m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue