• src/doors/clans-src/src/items.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Nov 10 05:47:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/716dedb77164e0fc08b9fd92
    Modified Files:
    src/doors/clans-src/src/items.c
    Log Message:
    Optimize random item selection

    Previously, an oversized array of item pointers was allocated then
    built in memory just so one could be selected at random.

    There's still an unneeded Items_Init/Items_Close pair here though.
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Nov 10 06:37:22 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/07ccae4aab02f522296f0fd7
    Modified Files:
    src/doors/clans-src/src/items.c
    Log Message:
    Reduce the value of a scroll by half every time it's used

    This fixes an issue where you could buy a Banish scroll, use it four
    times, then sell it for the same price you could have gotten for it
    when it was new.

    It wasn't an infinite gold bug, but it did make multi-use scrolls
    significantly cheaper to use.
    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Nov 17 12:54:32 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a5d6da8c968bf7678d1cc45a
    Modified Files:
    src/doors/clans-src/src/items.c
    Log Message:
    Fix reversed login in GetEquippableItem()
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)