Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I hope this ends up getting seen since it makes a double post, and I'm hoping it's something you can help with/are willing to help with: I'm trying to move the tools to Common Events so that I can use the VisuStella plugin you suggested. That part I don't need much help with, as it's just copy pasting. I also managed to get the hoe working after about a day of work. I am have two issues, however, with this process. The first: 

Seeds used to plant only on tilled tiles, and now they plant on any on the map.

Things I have tried:

Making a switch that turns on when tiles are tilled-that just makes it so that seeds can be planted anywhere on the map but only when there is at least one tilled tile.

Making a control variable that adds plowed spaces as I plow and removes from the counter as I plant: still can plant anywhere, though limits amount.

Something that I did to try to mix with any results was add the Region tag to the seed, and it did make it so that it only would plant in the space I wanted it to. So at least there's that. Also tried adding a switch to using the hoe and the template event to only work when that switch is on but that does nothing.

I know what I need to fix somehow here: the 'erase event' command at the end of the section with the seed template is not working. I either need to find a setup for control switches or some kind of script that does the same task.


My second issue is with the watering can. Now that it's in a common event, having the <Self> notetag makes it not function at all, and removing it makes it water all planted tiles. I need it to only water the tile either in front of or underneath the player, like it does originally.

I know that this is asking for a lot of help, so if it's too much, please do let me know. I'm just at a loss. I've been working at it for two full days now and I've scoured the internet for any solutions and found none. Since I'm messing with your system I wanted to come here before I turned to forums for help.

It sounds like both issues are likely caused by parts of the events being moved to the wrong places. 

The seeds should work on their own without using any of the common events, because the player activates them by pressing the action button while standing on them. If they're holding seeds, those seeds will be planted on the event. If any part of spawning the seed event has been moved to a common event, it's going to plant them anywhere.

The same applies for anything using a <Self> variable. Because every crop event functions uniquely and independently, it can only be controlled through the <Self> variables. These also function by having the player press the action button while standing on the event, so no part of it should take place through the common event. The only thing you'll need to do in your common event is set the tool ID to the same ID as your watering can when the player presses the correct button. The rest should work as normal.

I hope that helps! :D

Thank you so much! That was so much simpler than what I was trying to do! I appreciate it so much.