From 4cd4dbb162fd8257ffc747668a4b2e0dc7bbed0c Mon Sep 17 00:00:00 2001 From: uthuluc <58225812+uthuluc@users.noreply.github.com> Date: Wed, 9 Dec 2020 00:16:06 -0500 Subject: [PATCH] Create cargoshorts primitive pocket propositions --- cargoshorts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 cargoshorts diff --git a/cargoshorts b/cargoshorts new file mode 100644 index 00000000..147d4cf4 --- /dev/null +++ b/cargoshorts @@ -0,0 +1,30 @@ +// Cargo cultist shorts +RegisterResourceGenerationFunction("IOTMCargoCultistShortsGenerateResource"); +void IOTMCargoCultistShortsGenerateResource(ChecklistEntry [int] resource_entries) +{ + if (!get_property_boolean("_cargoPocketEmptied")) { + string image_name = "__item cargo cultist shorts"; + string description = "Pick a pocket for something useful! Too many to list!"; + + string [int] options; + if (__misc_state["in run"] && my_path_id() != PATH_COMMUNITY_SERVICE) + { + if (!locationAvailable($location[The royal guard Chamber])) + { + options.listAppend("Stink like a filthworm drone"); + } + if (!locationAvailable($location[The eXtreme Slope]) == false) + { + options.listAppend("Mountain Man, YR for 2x ore"); + } + if ($location[The Battlefield (Frat Uniform)].turns_spent < 100) + { + options.listAppend("Green Ops Soldier, olfact for funny meme strategies"); + } + } + if (options.count() > 0) + options.listAppend("Possible pockets: