- May 25, 2017
- 3,066
- 5,455
My mod has time controls, you can take a look at that for an example.The new version of the mod adds colours and icon to the tiles and makes it look like part of the game's native code. I'm liking the look alot. Good job
*OK, so you guys have gotten me to tinker with your cheat menu mod and I have managed to add a option to (+/-) an hour of in game time with this code
"Add 1 Hour" :
$GData.Time +=1
return
"Minus 1 Hour" :
$GData.Time -=1
return
Now my question is:
When I try and assign the add 1 hour to the + key on the keyboard I get errors when using config.keymap['GData.Time']=['+']
"Add 1 Hour" :
$GData.Time +=1
$AddNotify( _("+1 Hour"))
config.keymap['GData.Time']=['+']
return
I'm sure I am doing something stupid with the config.keymap command. Do you have any ideas about how I can go about mapping the $GData.Time +=1 to the keyboard keys?
Thanks in advance.
It's linked on suchguys mod post because for whatever reason the link was removed from the first post. You know what I'll just attach it here. If you prefer suchguys menu then just take a look at the attached hotkeys file, and add that to his mod. Note that the key is "=" because otherwise you would need to hold the shift key.
Last edited: