This was previously posted in something I requested before, so I'm transplanting here... LOL
Here's my actual script that I started...
In Shadowrun (Genesis/MegaDrive), the random loot safes in the buildings. If you're looking for clues and such, you come across:
'grenades'
+frag
+stun
+concussion
'nuyen' (money)
'first aid kits'
'clips' (for guns)
'stim patches' (like first aid kits)
"You find nothing..."
<sometimes clues as to what floor to search> (this one's rather rare, but it can happen, especially with "client extraction"; maybe 1% - 3% of the time.)
and the ever-elusive package.
Also in Shadowrun, the corporations also have terminals that either have clues as to whereabouts of 'extraction client' or 'the package'
wall kiosks
(and some got to the 'matrix' while others allow you to turn off the security alerts and offer clues. see pics).
LOL This script would be a boon to have for the corps I'm planning to incorporate into the game.
I can see this being used for others in their games, to set up items and such, and randomness for them to be discovered when the chest or lootable object is opened.
Any ideas?
Here's the link for the screenshots that I promised.
This is the idea I had, but I'm learning to be a scripter...
Thanks for looking.
Here's my actual script that I started...
#=============================================================================# SHADOWRUN RANDOM SAFE LOOT# December 14, 2013 - Robynn Penelope Mussell (WickedVixen)# ©2013, WickedVixen / RPDGS -- ©2013, Robynn Penelope Mussell / RPGDS#-----------------------------------------------------------------------------# CONTACT: WickedVixen via the forums ()# or Facebook (Robynn Mussell)# or e-mail ([email hidden] / [email hidden])## MUST ALSO GIVE CREDIT WHEN USING THIS SCRIPT.#-----------------------------------------------------------------------------# Script is based in part on the safes that are in the MegaCorps in Shadowrun# (for SEGA Genesis/MegaDrive) and how they randomly generate items or nothing.#=============================================================================class Random_safe_loot# class constructordef initialize()end# class destructordef dispose()end#===============================================================================# ROLLER() FUNCTION / METHOD#===============================================================================def Roller( sides, addOne )result = 0fl_zero = falseresult = rand(sides)if (addOne == true) && (result == sides)result = 1fl_zero = 1endif (addOne = false) && (result == sides)result = 0endif (addOne = true) && (fl_zero = 0)result += 1end#** end of method / function Roller()end#** end of class Random_safe_lootendsafe_one = Random_safe_loot.newtext = 'You find 'ending = 'Q'msgbox_p( text, safe_one.Roller(19, true) * 25 + 25, ending )
'grenades'
+frag
+stun
+concussion
'nuyen' (money)
'first aid kits'
'clips' (for guns)
'stim patches' (like first aid kits)
"You find nothing..."
<sometimes clues as to what floor to search> (this one's rather rare, but it can happen, especially with "client extraction"; maybe 1% - 3% of the time.)
and the ever-elusive package.
Also in Shadowrun, the corporations also have terminals that either have clues as to whereabouts of 'extraction client' or 'the package'
wall kiosks
(and some got to the 'matrix' while others allow you to turn off the security alerts and offer clues. see pics).
NOTE--
I'm not going to attempt to recreate the "Matrix Runs" of Shadowrun! *Not Even*! :headshake:
Suffice it to say, I'd love to 😛 , but not for my current project.
I'm not going to attempt to recreate the "Matrix Runs" of Shadowrun! *Not Even*! :headshake:
Suffice it to say, I'd love to 😛 , but not for my current project.
I can see this being used for others in their games, to set up items and such, and randomness for them to be discovered when the chest or lootable object is opened.
Any ideas?
Here's the link for the screenshots that I promised.
This is the idea I had, but I'm learning to be a scripter...
Thanks for looking.