1. Please be advised of a few specific rules and guidelines for this section.

RELEASED Race Gameplay Variation 0.3.2

Adds new mechanics based on the player's chosen race!

  1. betailas

    betailas Subatomic Cosmonaut

    I know all of this, I'm old enough ;), these were just my ideas and suggestions. BTW, how do you know what species did the hylotl race evolve from? Maybe exactly from sharks or the like, maybe they have closed breathing system and can withstand toxic atmosphere? It's a game, dude, so not everything but a lot is possible. My ideas was just about that hylotl are quite disadvataged compared to other races and that's all.
     
  2. Chase_1159

    Chase_1159 Void-Bound Voyager

    This sentence reminds me of...



    ...much more than it should have.

    And I enjoy that.
     
  3. Mackinz

    Mackinz The Waste of Time

    I don't mean to annoy you, IncredibleMeh, but are you going to release the Glad Giraffe compatibility update soon? I'd really like to experiment with it in Nightly/Unstable!
     
  4. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    The update will be released soon. Just need to finish writing patch files for consumables. Actually, if you don't mind having to put up with potential bugs, I've been uploading the mod to a GitHub repository so I can manage version control more easily.

    https://github.com/IncredibleMeh/StarboundMod-RaceGameplayVariation/tree/unstable

    I planned on posting the link after everything was finished, but I don't mind giving an early preview here.
     
    Mackinz likes this.
  5. Mackinz

    Mackinz The Waste of Time

    So I was looking through your GitHub to try and find a way to allow for users to add in their own effects for custom races and it does not seem to be easy since patching lua files is not a thing. Extension mods would have to be mutually exclusive unless a modder includes multiple custom race support in their version of player_primary.lua.

    On the note of derivative mods, how would one go about increasing or decreasing the max health or energy of a species at base? I have support for two races in mind, one with basically Apex features and lowered health and another with lower health plus higher max energy and energy regeneration.

    Also, you don't seem to have yet included light level-based health regeneration for Florans yet.

    Edit: @tccoxon has solved the conundrum.

    Code:
    <tomc> in /player.config, you can specify extra lua source files to load in primaryScriptSources
    Add in mod-specific script to the primaryScriptSources array in player.config, and *boom* instant compatibility. Now to figure out how to affect max health and energy values (because I have no scripting experience :D).
     
    Last edited: Dec 7, 2015
    IncredibleMeh likes this.
  6. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    I think this ought to work if you want to effect base health and energy.
    Code:
    effect.addStatModifierGroup({
            {stat = "maxEnergy", amount = 170},
        })
    
    I used something similar to increase the base energy of humans, so putting that in the 'function init()' of any script should do the job.
     
  7. Mackinz

    Mackinz The Waste of Time

    Okay, thanks for that. By the way, this realization meabs you can move all your edits to player_primary.lua into a unique lua file and maintain maximum compatibility with other mods as long as they do not completely overwrite player.config.
     
  8. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    Hrm, I wonder If I would be able to alter damage resistances or energy regen that way though? Altering player_primary.lus may be necessary, as effecting things such as applying damage to the player in the new script might mean that it's running two requests for applying damage instead of overlapping the one in player_primary. This would cause players to take damage two times from one hit.

    What I could probably do is create a custom variable or stat that's defined by the mod's added script, and then have the modified parts of player_primary.lua check for that. That way custom races could still take advantage of any non-standard features I've added in.

    I'll get done with the consumables and move on to experimenting with this to see how viable it is.
     
  9. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    IncredibleMeh updated Race Gameplay Variation with a new update entry:

    Updated to Glad Giraffe, new features added!

    Read the rest of this update entry...
     
  10. SaberMurusaki

    SaberMurusaki Phantasmal Quasar

    Aaaaand thats why i like novakids. They are so... genderless... lifeless... and AWESOME! Wish i was a novakid. Thank God for this mod (which is not completed), i can have more fun.
     
  11. Mackinz

    Mackinz The Waste of Time

    Not a fatal error, but it's annoying to get all this log spam (which seemingly delays game loading):

    Code:
    Start logging at: 2015-12-14 23:00:15.497
    [23:00:15.498] Info: Star::Root using bootstrap file 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\sbboot.config'
    [23:00:15.498] Info: Star::Root using storage directory 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\giraffe_storage\'
    [23:00:15.498] Info: Preparing Star::Root...
    [23:00:15.673] Info: Detected mod '[COLORBOUND]' at '../giraffe_storage/mods\[COLORBOUND].modpak'
    [23:00:15.673] Info: Detected mod 'Armor Stand' at '../giraffe_storage/mods\Armor Stand v1.2 (Glad Giraffe).modpak'
    [23:00:15.673] Info: Detected mod 'Extended Songbook' at '../giraffe_storage/mods\extended_songbook_1_0_7.modpak'
    [23:00:15.673] Info: Detected mod 'Rattan' at '../giraffe_storage/mods\Updating - Rattan\.'
    [23:00:15.673] Info: Detected mod 'CompactRattan' at '../giraffe_storage/mods\CompactRattan.modpak'
    [23:00:15.673] Info: Detected mod 'Avali' at '../giraffe_storage/mods\Avali-2.2.0b\.'
    [23:00:15.674] Info: Detected mod 'MoreFarming' at '../giraffe_storage/mods\MoreFarming - PG - 1.1\.'
    [23:00:15.674] Info: Detected mod 'MoreFarmingCompact' at '../giraffe_storage/mods\MoreFarmingCompact - PG - 1.1.modpak'
    [23:00:15.674] Info: Detected mod 'Modules in a Box' at '../giraffe_storage/mods\modules-in-a-box\.'
    [23:00:15.674] Info: Detected mod 'Extended GUI' at '../giraffe_storage/mods\extended_gui_1_0_0.modpak'
    [23:00:15.674] Info: Detected mod 'CompactCrops' at '../giraffe_storage/mods\CompactCrops - PG - 1.3.modpak'
    [23:00:15.674] Info: Detected mod 'ExtraZoomLevels' at '../giraffe_storage/mods\ExtraZoomLevels.modpak'
    [23:00:15.674] Info: Detected mod 'DecoTools' at '../giraffe_storage/mods\DecoTools.modpak'
    [23:00:15.674] Info: Detected mod 'Space Edits' at '../giraffe_storage/mods\Space Edits.modpak'
    [23:00:15.675] Info: Detected mod 'Gallavoir' at '../giraffe_storage/mods\Gallavoir Alpha 0.0.4a\.'
    [23:00:15.675] Info: Detected mod 'PestControl' at '../giraffe_storage/mods\PestControl - PG - 1.1.modpak'
    [23:00:15.675] Info: Detected mod 'ITA-DragonTemple' at '../giraffe_storage/mods\ITA-DragonTemple\.'
    [23:00:15.675] Info: Detected mod 'generalstore-2.1' at '../giraffe_storage/mods\generalstore-2.1\.'
    [23:00:15.675] Info: Detected mod 'RaceGameplayVariation' at '../giraffe_storage/mods\RaceGameplayVariation.modpak'
    [23:00:15.675] Info: Detected mod 'Nanlight3' at '../giraffe_storage/mods\headnanites.modpak'
    [23:00:15.675] Info: Detected mod 'Bloxel' at '../giraffe_storage/mods\Updating - Bloxel - SG - 1.0\.'
    [23:00:15.675] Info: Detected mod 'HullPlatingBlocks' at '../giraffe_storage/mods\Hull Plating Blocks v34.5\.'
    [23:00:15.675] Info: Detected mod 'LessLight' at '../giraffe_storage/mods\Less Light - GG - 0.1\.'
    [23:00:15.676] Info: Detected mod 'BeautifulRaces' at '../giraffe_storage/mods\InDev - Beautiful Races Modpack\.'
    [23:00:15.676] Info: Detected mod 'Gallavoir AI and Pet Test' at '../giraffe_storage/mods\InDev - Gallavoir AI and Pet Test\.'
    [23:00:15.676] Info: Detected mod 'Kao Celestials' at '../giraffe_storage/mods\kao_celestials.modpak'
    [23:00:15.676] Info: Detected mod 'LogicalTools' at '../giraffe_storage/mods\InDev - Logical Tools\.'
    [23:00:15.676] Info: Detected mod 'YesChef' at '../giraffe_storage/mods\yeschef.modpak'
    [23:00:15.676] Info: Detected mod 'Universal Uncrafter' at '../giraffe_storage/mods\Universal Uncrafter v1.40 (Glad Giraffe).modpak'
    [23:00:15.676] Info: Detected mod 'Space Edits - Star Swap' at '../giraffe_storage/mods\Space Edits - Star Swap.modpak'
    [23:00:15.676] Info: Detected mod 'NPCRaces' at '../giraffe_storage/mods\InDev - NPC Races - PG - 1.0\.'
    [23:00:15.677] Info: Detected mod 'RadiantWorlds' at '../giraffe_storage/mods\InDev - Radiant Worlds\.'
    [23:00:15.677] Info: Detected mod 'TooDeep' at '../giraffe_storage/mods\TooDeep.modpak'
    [23:00:15.677] Info: Detected mod 'Modern Loom' at '../giraffe_storage/mods\ModernLoom 1.0\.'
    [23:00:15.677] Info: Detected mod 'SodaMachine' at '../giraffe_storage/mods\InDev - Soda Machine - PG - 1.0\.'
    [23:00:15.677] Info: Detected mod 'letterpack' at '../giraffe_storage/mods\letterpack\.'
    [23:00:15.677] Info: Detected mod 'StableTest' at '../giraffe_storage/mods\InDev - StableTest\.'
    [23:00:15.677] Info: Detected mod 'lopunny' at '../giraffe_storage/mods\lopunny\.'
    [23:00:15.678] Info: Detected mod 'LopunnyImprovements' at '../giraffe_storage/mods\Lopunny Improvements - PG - 1.2\.'
    [23:00:15.678] Info: Detected mod 'LopunnyImprovementsExpressive' at '../giraffe_storage/mods\Lopunny Improvements Expressive - PG - 1.1\.'
    [23:00:15.678] Info: Detected mod 'Item Broadcaster v1.5 (Glad Giraffe)' at '../giraffe_storage/mods\Item Broadcaster v1.5 (Glad Giraffe).modpak'
    [23:00:15.678] Info: Detected mod 'The Game Hunter' at '../giraffe_storage/mods\The Game Hunter v1.4 (Glad Giraffe).modpak'
    [23:00:15.678] Info: Detected mod 'madExp_ChoosePet' at '../giraffe_storage/mods\madExp_ChoosePet.modpak'
    [23:00:15.679] Info: Detected mod 'Mecharachnid v2.0 (Glad Giraffe)' at '../giraffe_storage/mods\Mecharachnid v2.0 (Glad Giraffe).modpak'
    [23:00:15.679] Info: Detected mod 'orcana' at '../giraffe_storage/mods\Orcana\.'
    [23:00:15.679] Info: Detected mod 'Phase Shift Module v1.2 (Glad Giraffe)' at '../giraffe_storage/mods\Phase Shift Module v1.2 (Glad Giraffe).modpak'
    [23:00:15.679] Info: Detected mod 'Pilchenstein's Science Station' at '../giraffe_storage/mods\pilch_sciencestation\.'
    [23:00:15.679] Info: Detected mod 'Pop-Off Lighting' at '../giraffe_storage/mods\Pop-Off Lighting - PG - 1.2.modpak'
    [23:00:15.679] Info: Detected mod 'RadioactiveMetals' at '../giraffe_storage/mods\RadioactiveMetals - PG - 1.4.modpak'
    [23:00:15.679] Info: Detected mod 'RecipeReorganization' at '../giraffe_storage/mods\Recipe Reorganization - PG - 1.0\.'
    [23:00:15.679] Info: Detected mod 'SaplingMaker_v2.0' at '../giraffe_storage/mods\SaplingMaker_v2.0.modpak'
    [23:00:15.680] Info: Detected mod 'SolaerSelect' at '../giraffe_storage/mods\SolaerSelect.modpak'
    [23:00:15.680] Info: Detected mod 'tabularasa' at '../giraffe_storage/mods\Tabula Rasa - PG - 2.2\.'
    [23:00:15.680] Info: Detected mod 'madExp_CustomPet' at '../giraffe_storage/mods\TorchicPet\.'
    [23:00:15.680] Info: Loading Configuration with config file: 'starbound.config'
    [23:00:15.681] Info: Loading Star::Configuration from 'Just (.\..\giraffe_storage\starbound.config)'
    [23:00:15.685] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    [23:00:15.692] Info: Initializing Star::Root with 56 assets sources
    [23:00:15.693] Info: Done preparing Star::Root.
    [23:00:15.693] Info: Client Version 'Beta v. Glad Giraffe - Update 1' Revision: 3ebb15b8df3ef9fa8dfa8a1b9f496bb45359b5b5 Protocol: 710
    [23:00:15.693] Info: Initialized SDL
    [23:00:15.711] Info: Initialized SDL Video
    [23:00:15.759] Info: Initialized SDL Joystick
    [23:00:15.761] Info: Initialized SDL Sound
    [23:00:15.798] Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    [23:00:15.799] Info: Loading Assets
    [23:00:15.799] Info: Loading assets from: '../assets/packed.pak'
    [23:00:15.814] Info: Loading assets from: '../assets/user'
    [23:00:15.814] Info: Loading assets from: '../giraffe_storage/mods\[COLORBOUND].modpak'
    [23:00:15.815] Info: Loading assets from: '../giraffe_storage/mods\Armor Stand v1.2 (Glad Giraffe).modpak'
    [23:00:15.815] Info: Loading assets from: '../giraffe_storage/mods\extended_songbook_1_0_7.modpak'
    [23:00:15.816] Info: Loading assets from: '../giraffe_storage/mods\Updating - Rattan\.'
    [23:00:15.816] Info: Loading assets from: '../giraffe_storage/mods\CompactRattan.modpak'
    [23:00:15.817] Info: Loading assets from: '../giraffe_storage/mods\Avali-2.2.0b\.'
    [23:00:15.817] Info: Loading assets from: '../giraffe_storage/mods\MoreFarming - PG - 1.1\.'
    [23:00:15.817] Info: Loading assets from: '../giraffe_storage/mods\MoreFarmingCompact - PG - 1.1.modpak'
    [23:00:15.818] Info: Loading assets from: '../giraffe_storage/mods\modules-in-a-box\.'
    [23:00:15.818] Info: Loading assets from: '../giraffe_storage/mods\extended_gui_1_0_0.modpak'
    [23:00:15.819] Info: Loading assets from: '../giraffe_storage/mods\CompactCrops - PG - 1.3.modpak'
    [23:00:15.820] Info: Loading assets from: '../giraffe_storage/mods\ExtraZoomLevels.modpak'
    [23:00:15.820] Info: Loading assets from: '../giraffe_storage/mods\DecoTools.modpak'
    [23:00:15.821] Info: Loading assets from: '../giraffe_storage/mods\Space Edits.modpak'
    [23:00:15.821] Info: Loading assets from: '../giraffe_storage/mods\Gallavoir Alpha 0.0.4a\.'
    [23:00:15.821] Info: Loading assets from: '../giraffe_storage/mods\PestControl - PG - 1.1.modpak'
    [23:00:15.822] Info: Loading assets from: '../giraffe_storage/mods\ITA-DragonTemple\.'
    [23:00:15.822] Info: Loading assets from: '../giraffe_storage/mods\generalstore-2.1\.'
    [23:00:15.822] Info: Loading assets from: '../giraffe_storage/mods\RaceGameplayVariation.modpak'
    [23:00:15.823] Info: Loading assets from: '../giraffe_storage/mods\headnanites.modpak'
    [23:00:15.823] Info: Loading assets from: '../giraffe_storage/mods\Updating - Bloxel - SG - 1.0\.'
    [23:00:15.824] Info: Loading assets from: '../giraffe_storage/mods\Hull Plating Blocks v34.5\.'
    [23:00:15.824] Info: Loading assets from: '../giraffe_storage/mods\Less Light - GG - 0.1\.'
    [23:00:15.824] Info: Loading assets from: '../giraffe_storage/mods\InDev - Beautiful Races Modpack\.'
    [23:00:15.824] Info: Loading assets from: '../giraffe_storage/mods\InDev - Gallavoir AI and Pet Test\.'
    [23:00:15.824] Info: Loading assets from: '../giraffe_storage/mods\kao_celestials.modpak'
    [23:00:15.825] Info: Loading assets from: '../giraffe_storage/mods\InDev - Logical Tools\.'
    [23:00:15.825] Info: Loading assets from: '../giraffe_storage/mods\yeschef.modpak'
    [23:00:15.826] Info: Loading assets from: '../giraffe_storage/mods\Universal Uncrafter v1.40 (Glad Giraffe).modpak'
    [23:00:15.827] Info: Loading assets from: '../giraffe_storage/mods\Space Edits - Star Swap.modpak'
    [23:00:15.827] Info: Loading assets from: '../giraffe_storage/mods\InDev - NPC Races - PG - 1.0\.'
    [23:00:15.828] Info: Loading assets from: '../giraffe_storage/mods\InDev - Radiant Worlds\.'
    [23:00:15.828] Info: Loading assets from: '../giraffe_storage/mods\TooDeep.modpak'
    [23:00:15.828] Info: Loading assets from: '../giraffe_storage/mods\ModernLoom 1.0\.'
    [23:00:15.829] Info: Loading assets from: '../giraffe_storage/mods\InDev - Soda Machine - PG - 1.0\.'
    [23:00:15.829] Info: Loading assets from: '../giraffe_storage/mods\letterpack\.'
    [23:00:15.829] Info: Loading assets from: '../giraffe_storage/mods\InDev - StableTest\.'
    [23:00:15.829] Info: Loading assets from: '../giraffe_storage/mods\lopunny\.'
    [23:00:15.830] Info: Loading assets from: '../giraffe_storage/mods\Lopunny Improvements - PG - 1.2\.'
    [23:00:15.830] Info: Loading assets from: '../giraffe_storage/mods\Lopunny Improvements Expressive - PG - 1.1\.'
    [23:00:15.830] Info: Loading assets from: '../giraffe_storage/mods\Item Broadcaster v1.5 (Glad Giraffe).modpak'
    [23:00:15.830] Info: Loading assets from: '../giraffe_storage/mods\The Game Hunter v1.4 (Glad Giraffe).modpak'
    [23:00:15.831] Info: Loading assets from: '../giraffe_storage/mods\madExp_ChoosePet.modpak'
    [23:00:15.832] Info: Loading assets from: '../giraffe_storage/mods\Mecharachnid v2.0 (Glad Giraffe).modpak'
    [23:00:15.832] Info: Loading assets from: '../giraffe_storage/mods\Orcana\.'
    [23:00:15.832] Info: Loading assets from: '../giraffe_storage/mods\Phase Shift Module v1.2 (Glad Giraffe).modpak'
    [23:00:15.833] Info: Loading assets from: '../giraffe_storage/mods\pilch_sciencestation\.'
    [23:00:15.833] Info: Loading assets from: '../giraffe_storage/mods\Pop-Off Lighting - PG - 1.2.modpak'
    [23:00:15.834] Info: Loading assets from: '../giraffe_storage/mods\RadioactiveMetals - PG - 1.4.modpak'
    [23:00:15.834] Info: Loading assets from: '../giraffe_storage/mods\Recipe Reorganization - PG - 1.0\.'
    [23:00:15.835] Info: Loading assets from: '../giraffe_storage/mods\SaplingMaker_v2.0.modpak'
    [23:00:15.835] Info: Loading assets from: '../giraffe_storage/mods\SolaerSelect.modpak'
    [23:00:15.836] Info: Loading assets from: '../giraffe_storage/mods\Tabula Rasa - PG - 2.2\.'
    [23:00:15.836] Info: Loading assets from: '../giraffe_storage/mods\TorchicPet\.'
    [23:00:18.968] Info: Done loading Assets in 3.169 seconds
    [23:00:19.004] Info: Loading NameGenerator
    [23:00:19.058] Info: Initializing SDL Window
    [23:00:19.193] Info: Done loading NameGenerator in 0.189 seconds
    [23:00:19.194] Info: Loading ObjectDatabase
    [23:00:19.722] Info: OpenGL version: '4.5.13416 Compatibility Profile Context 15.300.1025.0' vendor: 'ATI Technologies Inc.' renderer: 'AMD Radeon(TM) R5 Graphics' shader: '4.40'
    [23:00:19.722] Info: Created initial window 1463x796
    [23:00:19.725] Info: Renderer initialized
    [23:00:19.725] Info: Renderer destroyed
    [23:00:19.726] Info: Initializing SDL Window
    [23:00:19.752] Info: OpenGL version: '4.5.13416 Compatibility Profile Context 15.300.1025.0' vendor: 'ATI Technologies Inc.' renderer: 'AMD Radeon(TM) R5 Graphics' shader: '4.40'
    [23:00:19.752] Info: Re-created window 1463x796
    [23:00:19.753] Info: Renderer initialized
    [23:00:19.761] Info: Loading ImageMetadataDatabase
    [23:00:19.761] Info: Done loading ImageMetadataDatabase in 0 seconds
    [23:01:01.288] Info: Done loading ObjectDatabase in 42.093 seconds
    [23:01:01.288] Info: Loading PlantDatabase
    [23:01:04.247] Info: Done loading PlantDatabase in 2.959 seconds
    [23:01:04.247] Info: Loading ProjectileDatabase
    [23:01:10.225] Info: Done loading ProjectileDatabase in 5.978 seconds
    [23:01:10.226] Info: Loading MonsterDatabase
    [23:01:16.581] Info: Done loading MonsterDatabase in 6.355 seconds
    [23:01:16.581] Info: Loading NpcDatabase
    [23:01:17.264] Error: Could not apply patch from backend: Folder <../giraffe_storage/mods\Orcana\.>.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Tried to get key 'orcana' in non-object type in pathApply("/scriptConfig/dialog/hail/orcana")
    [23:01:19.007] Info: Done loading NpcDatabase in 2.426 seconds
    [23:01:19.007] Info: Loading StagehandDatabase
    [23:01:19.011] Info: Done loading StagehandDatabase in 0.00399995 seconds
    [23:01:19.011] Info: Loading VehicleDatabase
    [23:01:19.124] Info: Done loading VehicleDatabase in 0.113 seconds
    [23:01:19.124] Info: Loading PlayerFactory
    [23:01:19.886] Info: Done loading PlayerFactory in 0.762 seconds
    [23:01:19.887] Info: Loading EntityFactory
    [23:01:19.887] Info: Loading VersioningDatabase
    [23:01:19.923] Info: Done loading VersioningDatabase in 0.036 seconds
    [23:01:19.923] Info: Done loading EntityFactory in 0.036 seconds
    [23:01:19.923] Info: Loading ItemDatabase
    [23:01:42.793] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:42.901] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:42.923] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:43.022] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:43.058] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.077] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.134] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.138] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.310] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:43.343] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:43.365] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.411] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.653] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:43.935] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:44.075] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:44.761] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:45.037] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.282] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.285] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:45.324] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.333] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.391] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.398] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.440] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:45.491] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.495] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.514] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.780] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:01:45.979] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:01:46.025] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:03:28.995] Info: Loading FunctionDatabase
    [23:03:29.212] Info: Done loading FunctionDatabase in 0.217 seconds
    [23:03:29.222] Info: Loading ParticleDatabase
    [23:03:30.433] Info: Done loading ParticleDatabase in 1.21 seconds
    [23:03:33.804] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:03:35.584] Info: Loading LiquidsDatabase
    [23:03:35.619] Info: Loading MaterialDatabase
    [23:03:46.245] Info: Done loading MaterialDatabase in 10.626 seconds
    [23:03:46.254] Info: Done loading LiquidsDatabase in 10.671 seconds
    [23:03:47.116] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:03:48.971] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:03:55.604] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:03:56.300] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:03.574] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:05.570] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:09.158] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:04:11.680] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:18.313] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:04:31.295] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:04:31.711] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:36.147] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:04:36.763] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:37.144] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:38.614] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:38.841] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:41.599] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:42.315] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:04:42.842] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:04:44.261] Info: Done loading ItemDatabase in 204.338 seconds
    [23:04:44.261] Info: Loading TerrainDatabase
    [23:04:44.590] Info: Done loading TerrainDatabase in 0.329 seconds
    [23:04:44.591] Info: Loading BiomeDatabase
    [23:04:45.095] Info: Done loading BiomeDatabase in 0.505 seconds
    [23:04:45.095] Info: Loading StatusEffectDatabase
    [23:04:45.404] Info: Done loading StatusEffectDatabase in 0.309 seconds
    [23:04:45.404] Info: Loading DamageDatabase
    [23:04:46.338] Info: Done loading DamageDatabase in 0.934 seconds
    [23:04:46.339] Info: Loading EffectSourceDatabase
    [23:04:46.433] Info: Done loading EffectSourceDatabase in 0.0940001 seconds
    [23:04:46.434] Info: Loading TreasureDatabase
    [23:04:46.879] Info: Done loading TreasureDatabase in 0.444 seconds
    [23:04:46.879] Info: Loading DungeonDefinitions
    [23:04:49.359] Info: Done loading DungeonDefinitions in 2.48 seconds
    [23:04:49.359] Info: Loading TilesetDatabase
    [23:04:49.360] Info: Done loading TilesetDatabase in 0.00100017 seconds
    [23:04:49.360] Info: Loading EmoteProcessor
    [23:04:49.361] Info: Done loading EmoteProcessor in 0.000999928 seconds
    [23:04:49.361] Info: Loading SpeciesDatabase
    [23:04:49.699] Info: Done loading SpeciesDatabase in 0.338 seconds
    [23:04:49.700] Info: Loading QuestTemplateDatabase
    [23:04:50.022] Info: Done loading QuestTemplateDatabase in 0.322 seconds
    [23:04:50.023] Info: Loading AiDatabase
    [23:04:50.858] Info: Done loading AiDatabase in 0.835 seconds
    [23:04:50.859] Info: Loading TechDatabase
    [23:04:50.902] Info: Done loading TechDatabase in 0.0439999 seconds
    [23:04:50.902] Info: Loading CodexDatabase
    [23:04:51.864] Info: Done loading CodexDatabase in 0.962 seconds
    [23:04:51.864] Info: Loading BehaviorDatabase
    [23:04:52.327] Info: Done loading BehaviorDatabase in 0.462 seconds
    [23:04:52.327] Info: Loading DanceDatabase
    [23:04:52.355] Info: Done loading DanceDatabase in 0.0279999 seconds
    [23:04:52.355] Info: Loading SpawnTypeDatabase
    [23:04:52.428] Info: Done loading SpawnTypeDatabase in 0.073 seconds
    [23:04:52.432] Info: Done fully loading Star::Root
    [23:04:52.442] Info: Renderer destroyed
    [23:05:06.828] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:08.961] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:09.178] Error: Could not load image asset '/items/active/unsorted/wateringcan/woodenwateringcanIcon.png', using placeholder default.
    (AssetException) No such asset '/items/active/unsorted/wateringcan/woodenwateringcanIcon.png'
    [23:05:09.877] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not remove element after end of array
    [23:05:09.899] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:10.112] Error: Failed to valid player with uuid 971e1de949a774c9e86442c1d7f6d001 : (CodexDatabaseException) No such codex 'voxelplus1'
    [23:05:10.226] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:10.264] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:10.357] Error: Failed to valid player with uuid ed8289417eebf4b7792202c351d8f333 : (CodexDatabaseException) No such codex 'kirhosorigins'
    [23:05:10.407] Error: Could not apply patch from backend: rgv.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'blockingEffects' in pathApply("/blockingEffects/-")
    [23:05:13.879] Info: Renderer initialized
    
    Only a couple of the errors are unrelated to RGV. The errors are caused by attempting to patch in new values to blockingEffects when the consumable in question has no such array in its vanilla file, such as candy.consumable:

    Code:
    {
      "itemName" : "candy",
      "rarity" : "Common",
      "price" : 20,
      "inventoryIcon" : "candy.png",
      "description" : "Hard candy. It probably won't do much for me if I'm starving, but it sure is tasty.",
      "shortdescription" : "Candy",
      "handPosition" : [0, 6],
      "effects" : [ [
        "wellfed"
      ] ]
    }
    
    You should probably modify your patch files to add a blockingEffects array first with "wellfed", and then add the second blockingEffect.
     
    IncredibleMeh likes this.
  12. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    Thanks for pointing that out! I saw the log spam while testing out the mod earlier today, but had no idea why blockingEffects was causing it.

    I'll make sure to fix this up soon.
     
  13. Xakorik

    Xakorik Scruffy Nerf-Herder

    Can I use this mod in a modpack for my server?
     
  14. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    If you want to use this for a server, go right ahead. I'm very excited with the idea of people playing online with one another using this mod.
     
  15. Xakorik

    Xakorik Scruffy Nerf-Herder

    Thanks!
     
  16. bk3k

    bk3k Oxygen Tank

    I haven't looked at his code in the least, or even the vanilla code that handles what he is changing. So I may say something that doesn't apply.

    You can't patch a LUA file, but you CAN do something like
    Code:
    [
       {
       "op" : "replace",
       "path" : "scripts",
       "value":  "scripts/rgv_status.lua"
       }
    ]
    
    As such you aren't actually editing the vanilla file, but providing an edited (or perhaps completely new) version which is referenced instead. Just food for thought.

    An idea I have is that when people are in most liquids or wet, they are more vulnerable to lighting. This would stack with the glitch's already increased vulnerability.

    They should probably be highly resistant to flame in this case as well. Unless that liquid was oil!
     
  17. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    I have to admit I'm at a bit of a loss. Not only does the log spam persist despite trying the method you recommended, but all of my old patch files appear to be no longer working despite having worked just fine before.

    I must be crazy, it feels like the entire patch system has been changed. And if it turns out I have to change things so they work again I'll have to rewrite all the work I've already done.

    I'll take a look at patching over the .lua file like you mentioned, maybe it will prove useful.

    Effecting damage based on being soaked in water is an excellent idea, one that I definitely want to try out. But I feel like it's more at home as a separate mod that happens to be compatible with this one, since it's brand new functionality that doesn't need to be restricted to one race. (Making it a separate mod would prove tricky though, I still need to look into if there is any way to effect the damage request function in a separate .lua file without making things go screwy.
     
    Last edited: Dec 18, 2015
  18. Cybopper

    Cybopper Void-Bound Voyager

    How did you make the novakids immune to cold? I'm wondering so i can do a little script tinkering with a race to make them cold resistant.
     
  19. IncredibleMeh

    IncredibleMeh Scruffy Nerf-Herder

    Code:
    effect.addStatModifierGroup({
                {stat = "biomecoldImmunity", amount = 1},
                {stat = "biomeheatImmunity", amount = 1},
                {stat = "lavaImmunity", amount = 1},
                {stat = "poisonImmunity", amount = 1},
                {stat = "fireImmunity", amount = 1}
            })
    This was the code I used fore the novakid immunities to various effects. I created a custom status effect that only appears on the novakid and placed this in the 'function init()' of the status effect's .lua script.
     
  20. Spodi

    Spodi Scruffy Nerf-Herder

    The patch system hasn't changed but they removed the blockingEffects array from some food items. Basically you can't add something to an array if there isn't one in the first place. It is a bit unintuitive, cause you can only add a new blockingEffects array. That makes your mod incompatible with other mods that will add this array too... (those arrays will overwrite each other). I commited some changes to your github version that should fix most of the errors there.
     

Share This Page