Fluxxdog
Active member
The way I design script for my own use is to have major portion broken up and then draw them in to one main script. For example, my between battle script imports 13 different scripts:
Now, for most of those, except the first one, they're only used in the bBS. What I'm wondering is are there any major differences between a puzzle piece mentality like this as opposed to putting everything in just one script? Any advantages one has over the other in terms of performance?
PHP:
import <assembled.ash>;//import global variables and functions
import <shoreinc.ash>;//Check for dinghy and 6th floor tower items
import <affliction.ash>;//check for certain ailments and buffs
import <conjuregoodies.ash>;//summon items
import <superdrinks.ash>;//create Superhuman drinks
import <roguecount.ash>;//special handling for the Rogue Program
import <mimicbag.ash>;//special handling for the Stocking Mimic
import <boulderray.ash>;//special handling for the He-boulder
import <stinkycheese.ash>;//special handling for the Stinky Cheese Ball
import <minihip.ash>;//special handling for the Mini-hipster
import <crownthrone.ash>;//wear the crown
import <semirare.ash>;//special checks for semirares
import <dessert.ash>;//end of day