Another API suggestion
So, I know that there have been a number of different requests for some sort of API method to interact with the game, rather than using OOG setups with AHK and the like. Well, I was considering that recently and reading #0000, and I sort of came up with an idea of an upgrade to add the functionality to the game.
So, basically, you'd have an upgrade (called something like post_bot_v1/v2), and you'd have to equip the upgrade onto a user. Each upgrade has a cooldown stat and a cost stat, similar to a cron_bot upgrade.
A user could send a POST request to something like api.hackmud.com, with a payload that looked like
{
script: "jumpsplat120.public",
args: { action: "cool_scripts" }
}
Where script is the script to be run, and args are the arguments passed to the script. There could be some mechanic where a value could be processed as script; maybe a specific object or a string prepended with #s or something else. But in any case, the script would run, the user would be charged based on the cost stat, and then the user would be ratelimited based on the cooldown stat.
This would tie together in game and out of game gameplay, and it would add another GC sink, which gives another reason to gather more GC (gameloop be gameloopin'). Just a thought.
The specifics could obviously be tweaked, but the broad idea (an upgrade for OOG stuff) is the main takeaway. Hit me up on Discord if you wanna chat about it :p
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -