It does it, You gotta delete the game because you prob changed another part of the code on accident, So re install the game and be weary
RandomStranger001
Recent community posts
I fixed their code for them, but they are gonna have to implement it themselves
I figured out the Money adding problem, this code under is the fix, If You want to fix it yourself, go into The games files find the file, 'Diaper Dimension Escape.pck' open it into text edit, control f, search for the old code, and swap it to the new one
func _on_add_money_pressed():
PlayerData.addMoney(int(moneyAmt.text))
#PlayerData.force_unequip("underwear")
#PlayerData.p_data["underwear"]["messy"]=true
#PlayerData.p_data["underwear_messy"] = true
#PlayerData.p_data["underwear_current"] = 20
and the old code was
func _on_add_money_pressed():
#PlayerData.addMoney(int(moneyAmt.text))
PlayerData.force_unequip("underwear")
#PlayerData.p_data["underwear"]["messy"]=true
#PlayerData.p_data["underwear_messy"] = true
#PlayerData.p_data["underwear_current"] = 20
I figured out the Money adding problem, this code under is the fix
func _on_add_money_pressed():
PlayerData.addMoney(int(moneyAmt.text))
#PlayerData.force_unequip("underwear")
#PlayerData.p_data["underwear"]["messy"]=true
#PlayerData.p_data["underwear_messy"] = true
#PlayerData.p_data["underwear_current"] = 20
and the old code was
func _on_add_money_pressed():
#PlayerData.addMoney(int(moneyAmt.text))
PlayerData.force_unequip("underwear")
#PlayerData.p_data["underwear"]["messy"]=true
#PlayerData.p_data["underwear_messy"] = true
#PlayerData.p_data["underwear_current"] = 20
You had The hastag for Add money and Unequip swapped. Its a simple fix!