scraps

Abandon all hope, ye who enter here.
git clone https://git.neptards.moe/neptards/scraps.git
Log | Files | Refs | Submodules | README | LICENSE

scraps.md (1422B)


      1 # Differences from Rags
      2 * Player is a character. This means that string replacements and actions that
      3   operate on characters can operate on the player, provided you figure out the
      4   player's name (it will be `player`, unless there's already a character with
      5   that name). For compatibility with Rags, loops and selections that operate on
      6   characters automatically skip the current player character.
      7 * Room groups form a hierarchy, they can have parents.
      8 * Media was renamed to File internally (media doesn't have a proper plural form
      9   and it fucks up my mind, sorry).
     10 * Consistency: Items and Objects are used inconsistently in Rags, they are
     11   always Objects in scraps. Similarly, Portrait, Picture => Image.
     12 * Unicode support: currently nothing. This means case insensitive string
     13   matching and item ordering will be wrong.
     14 * DateTime: format specifier `U` is not supported.
     15 * DateTime: on Windows, dates before 1970 doesn't work. And generally, there's
     16   too much platform specific code there, so there might be other problems on non
     17   Linux systems.
     18 * String replacement: scraps doesn't crash in many cases when rags do. Instead,
     19   it prints an error message to the console and continues with some dummy
     20   values.
     21 * String replacement: scraps have an (arbitrary) iteration limit to prevent
     22   hanging with infinite replacements. **TODO**: make it user configurable.
     23 * Variables: string arrays can contain `*S*E*P*`