Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

don2fly

5
Posts
2
Topics
A member registered Oct 11, 2018

Recent community posts

here are the dos window error reports:

SCRIPT ERROR: childbirth: Invalid call. Nonexistent function 'dictionary' in base 'Nil'.
          At: res://files/scripts/Mansion.gd:2683
SCRIPT ERROR: _on_raise_pressed: Invalid get index 'name' (on base: 'Nil').
          At: res://files/scripts/Mansion.gd:2707
SCRIPT ERROR: babyage: Invalid set index 'name' (on base: 'Nil') with value of type 'String'.
          At: res://files/scripts/Mansion.gd:2714

1.  the first error occurs when you press end of day and the raise baby window appears.  No pic where there is space for one

2.  second error occurs when "raise the baby" button is pushed

3.  after providing a name and pressing an age button nothing occurs

note "give the baby away" does exit and allow you to continue.  there is no information about costing $500 that is mentioned elsewhere.

Please note that my game has been patched to allow the end of day report after the farm is activated (Strive-win64-525-Bugfix-V1a)

changes were saved.  game was restarted.

I very much appreciate your efforts.  If you have any more suggestions please post them I will keep checking for anything new.

I copied a bit more of the code.  It appears to me that the if is under the else.   My editor seems to be set to 5 space tabs and this code seems to be using 2 space tabs.  I'm not sure if that is the problem.  It looks ok to me in both places.  Also copied the error msg from the dos window.

if state.customcursor == null:
        Input.set_custom_mouse_cursor(null)
    else:
        state.customcursor = "res://files/buttons/kursor1.png"
        
    if !state.mansionupgrades.has("farmmana"):
        state.mansionupgrades.farmmana = 0
    
    gameloaded = true
    if str(state.currentversion) != str(gameversion):
        print("Using old save, attempting repair")
        repairsave()

_____________________________________________________________________

SCRIPT ERROR: _on_end_pressed: Invalid get index 'farmmana' (on base: 'Dictionary').
          At: res://files/scripts/Mansion.gd:1150

I tried.  The code appears as follows.  Same result.

else:
        state.customcursor = "res://files/buttons/kursor1.png"
        
        if !state.mansionupgrades.has("farmmana"):
            state.mansionupgrades.farmmana = 0
    
    gameloaded = true

beds are maxed out and filled (20/10/3).  Moved 2 jail occupants (and 1 more) to farm to collect eggs from 3 snails and provided a manager.  No end of day report.  Emptied farm and put everybody back.  End of day report restored.