From 7ff815da2d622931b169a3e8f7b309c602113801 Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Wed, 18 Jun 2025 19:07:18 -0400 Subject: [PATCH] Update readme.md Update readme.md --- README.md | 2 +- src/include/sbr_include.nss | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 03ad532..24d0a47 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,6 @@ Repository for the development of the PRC8 version of The Gates of Firestorm Pea 2.) [Original module resources](https://neverwintervault.org/project/nwn1/module/gates-firestorm-peak-revisited) -3.) [PRC8](https://gitea.raptio.us/Jaysyn/PRC8/src/branch/main/Release) +3.) [PRC8](https://gitea.raptio.us/Jaysyn/PRC8/releases) 4.) [CEP2](https://neverwintervault.org/cep) \ No newline at end of file diff --git a/src/include/sbr_include.nss b/src/include/sbr_include.nss index 316a218..be8e2dd 100644 --- a/src/include/sbr_include.nss +++ b/src/include/sbr_include.nss @@ -13,7 +13,7 @@ Always recompile your module after modifying 'sbr_include' because it is an incl #5: Remember to always make sure you are using the options you want to use when running "Build Module"! */ -#include "logmessage" +#include "inc_logmessage" #include "nw_i0_plot" // **************************************************************************** @@ -216,16 +216,8 @@ int iLogLevel = LOG_PC; // Log level used with LogMessage // to use but could not for any number of reasons. void CreateKit(object oPC, string sItemTag, int bOnGround = FALSE) { - string sResRef; + string sResRef = sItemTag == SBR_KIT_WOODLAND ? "supplykit001" : "supplykit002"; - if ((sItemTag)==SBR_KIT_WOODLAND) - { - sResRef = "supplykit001"; - } - else - { - sResRef = "supplykit002"; - } //now give back the item the dumb player should not have tried to use :) if (bOnGround == TRUE) {