mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Fix prices not appearing in shops sometimes because item was synced before it gost cost assgned.
This commit is contained in:
parent
526fe33d71
commit
2c4d3ecbd9
2 changed files with 20 additions and 1 deletions
19
docs/testing_wands.md
Normal file
19
docs/testing_wands.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{Wand
|
||||
| wandPic = Wand handgun.png
|
||||
| capacity = 2
|
||||
| spell1 = Teleport Bolt
|
||||
}}
|
||||
|
||||
{{Wand Card
|
||||
| wandPic = Wand handgun.png
|
||||
| castDelay = 0.03
|
||||
| rechargeTime = 0.15
|
||||
| manaMax = 1400.00
|
||||
| manaCharge = 310.00
|
||||
| capacity = 3
|
||||
| spread = -30
|
||||
| speed = 1.00
|
||||
| spell1 = Black Hole
|
||||
| spell2 = Black Hole
|
||||
| spell3 = Black Hole
|
||||
}}
|
|
@ -39,7 +39,7 @@ np.CrossCallAdd("ew_spawn_hook_pre", function(ent_path, x, y)
|
|||
if ctx.is_host then
|
||||
if is_sync_item(ent_path) then
|
||||
local ent_id = EntityLoad(ent_path, x, y)
|
||||
ctx.cap.item_sync.globalize(ent_id, true)
|
||||
ctx.cap.item_sync.globalize(ent_id, false)
|
||||
return ent_id
|
||||
else
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue