mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Setup for crash repro
This commit is contained in:
parent
3374c2f67d
commit
ff394e6971
1 changed files with 3 additions and 0 deletions
|
@ -169,7 +169,10 @@ function OnPlayerSpawned( player_entity ) -- This runs when player entity has be
|
||||||
ComponentSetValue2(item_pick, "is_immune_to_kicks", true)
|
ComponentSetValue2(item_pick, "is_immune_to_kicks", true)
|
||||||
|
|
||||||
if ctx.debug then
|
if ctx.debug then
|
||||||
|
-- ~Portal to lab
|
||||||
-- EntitySetTransform(player_entity, 0, 12600)
|
-- EntitySetTransform(player_entity, 0, 12600)
|
||||||
|
EntitySetTransform(player_entity, 0, 8600-20)
|
||||||
|
|
||||||
util.set_ent_health(player_entity, {1000, 1000})
|
util.set_ent_health(player_entity, {1000, 1000})
|
||||||
local wallet = EntityGetFirstComponentIncludingDisabled(player_entity, "WalletComponent")
|
local wallet = EntityGetFirstComponentIncludingDisabled(player_entity, "WalletComponent")
|
||||||
ComponentSetValue2(wallet, "money", 100000)
|
ComponentSetValue2(wallet, "money", 100000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue