- Joined
- Mar 30, 2023
Could it be possible to make it so that players of a game could write scripts that's used as a form of magic?
So for example, a fireball spell could be:
"Ignis, we beseech you!" //import Ignis library
"Beget your fiery rage," //generate large unfocused fireball with a predetermined power level
"And inflict it on those before us!" //target area the caster is facing
The Ignis library could be a larger script associated with the player, such as by a Grimoire in their possession or an access permission (like a mark). The library would take the games core magic APIs and script it into a language that is easier for the player to use. The libraries could be provided by the developers or created by players who then share or sell it them to other players for use
The game could put in restrictions to prevent the script from using more resources then what the user is allowed, but otherwise it's up to the user to ensure that their script does not have bugs that prevents it from exhausting their mana (hp could be used to cover for depleted mana) or hitting the wrong targets.
Different types of scripting systems could be used. Dwarven magic could be used by having a weapon maker inscribe a symbolic script using a mouse or stylus that is then recognized using a type of OCR into a script. Like making a script that can convert part of the players mana into a fire envelope on the blade. Admittedly I don't really know how symbolic scripting would work, ideally we could use some of those concepts to make proper magic circles.
I think that would be something that would be very fun to play, especially as people get creative.
So for example, a fireball spell could be:
"Ignis, we beseech you!" //import Ignis library
"Beget your fiery rage," //generate large unfocused fireball with a predetermined power level
"And inflict it on those before us!" //target area the caster is facing
The Ignis library could be a larger script associated with the player, such as by a Grimoire in their possession or an access permission (like a mark). The library would take the games core magic APIs and script it into a language that is easier for the player to use. The libraries could be provided by the developers or created by players who then share or sell it them to other players for use
The game could put in restrictions to prevent the script from using more resources then what the user is allowed, but otherwise it's up to the user to ensure that their script does not have bugs that prevents it from exhausting their mana (hp could be used to cover for depleted mana) or hitting the wrong targets.
Different types of scripting systems could be used. Dwarven magic could be used by having a weapon maker inscribe a symbolic script using a mouse or stylus that is then recognized using a type of OCR into a script. Like making a script that can convert part of the players mana into a fire envelope on the blade. Admittedly I don't really know how symbolic scripting would work, ideally we could use some of those concepts to make proper magic circles.
I think that would be something that would be very fun to play, especially as people get creative.