├── PreRelease
├── Resources
│ └── Data
│ │ ├── dummy.txt
│ │ ├── Items_Traps.csv
│ │ ├── Items_Barricading.csv
│ │ ├── Items_Scentsprays.csv
│ │ ├── Items_Entertainment.csv
│ │ ├── Items_Explosives.csv
│ │ ├── Items_Lights.csv
│ │ ├── Items_Spraypaints.csv
│ │ ├── Items_Trackers.csv
│ │ ├── Items_Food.csv
│ │ ├── Items_Medicine.csv
│ │ ├── Items_Armors.csv
│ │ ├── Items_RangedWeapons.csv
│ │ ├── Skills.csv
│ │ ├── Items_MeleeWeapons.csv
│ │ └── Actors.csv
└── readme.txt
├── RogueSurvivor
├── IconPNG.ico
├── lib
│ ├── sfmlnet-audio.dll
│ └── sfmlnet-window.dll
├── app.config
├── RSConfig
│ ├── RSConfig.csproj.user
│ └── RSConfig.cs
├── packages.config
├── Data
│ ├── BatteryPowered.cs
│ ├── IInventory.cs
│ ├── DollBody.cs
│ ├── Waypoint.cs
│ ├── DollPart.cs
│ ├── Model
│ │ ├── PrimedExplosive.cs
│ │ ├── BodyArmor.cs
│ │ └── Explosive.cs
│ ├── ActorCourage.cs
│ ├── Weather.cs
│ ├── Verb.cs
│ ├── ActorDirective.cs
│ ├── Item
│ │ └── PrimedExplosive.cs
│ ├── Defence.cs
│ ├── TileModel.cs
│ ├── BlastAttack.cs
│ ├── TimedTask.cs
│ ├── Doll.cs
│ ├── StateMapObject.cs
│ ├── Odor.cs
│ ├── Faction.cs
│ └── SkillTable.cs
├── AssemblyInfo.cs
├── Zaimoni
│ ├── Data
│ │ ├── KVpair.cs
│ │ ├── Operator.cs
│ │ ├── UntypedCache.cs
│ │ ├── OutTextFile.cs
│ │ ├── Observer.cs
│ │ ├── Cache.cs
│ │ ├── TimeCache.cs
│ │ ├── Logger.cs
│ │ ├── JSON.cs
│ │ ├── FileExt.cs
│ │ └── Stack.cs
│ ├── Lazy
│ │ └── Join.cs
│ ├── Serialization
│ │ ├── StreamingContext.cs
│ │ └── SaveManager.cs
│ └── Collections
│ │ └── Enumerator.cs
├── RogueSurvivor.csproj.user
├── Engine
│ ├── RaidType.cs
│ ├── UniqueMap.cs
│ ├── AI
│ │ └── Sensor.cs
│ ├── GameMode.cs
│ ├── Actions
│ │ ├── ActionSleep.cs
│ │ ├── ActionWait.cs
│ │ ├── ActionButcher.cs
│ │ ├── ActionShout.cs
│ │ ├── ActionUnequipItem.cs
│ │ ├── ActionChat.cs
│ │ ├── ActionEatFoodOnGround.cs
│ │ ├── ActionEquipItem.cs
│ │ ├── ActionTrade.cs
│ │ ├── ActionSay.cs
│ │ ├── ActionDropItem.cs
│ │ ├── ActionMeleeAttack.cs
│ │ ├── ActionSwitchPowerGenerator.cs
│ │ ├── ActionOpenDoor.cs
│ │ ├── ActionBarricadeDoor.cs
│ │ ├── ActionReviveCorpse.cs
│ │ ├── ActionPutInContainer.cs
│ │ ├── ActionShove.cs
│ │ ├── ActionTakeLead.cs
│ │ ├── ActionLeaveMap.cs
│ │ ├── ActionCloseDoor.cs
│ │ ├── ActionUseExit.cs
│ │ ├── ActionSwitchPlace.cs
│ │ ├── ActionBump.cs
│ │ ├── ActionMoveStep.cs
│ │ ├── ActionSequence.cs
│ │ ├── ActionEatCorpse.cs
│ │ ├── ActionRechargeItemBattery.cs
│ │ ├── ActionPull.cs
│ │ ├── ActionUseItem.cs
│ │ └── ActionSprayOdorSuppressor.cs
│ ├── Items
│ │ ├── ItemWeapon.cs
│ │ ├── ItemWeaponModel.cs
│ │ ├── ItemGrenade.cs
│ │ ├── ItemAmmoModel.cs
│ │ ├── ItemExplosive.cs
│ │ ├── ItemGrenadePrimed.cs
│ │ ├── ItemBarricadeMaterial.cs
│ │ ├── ItemEntertainmentModel.cs
│ │ ├── ItemSprayScentModel.cs
│ │ ├── ItemBarricadeMaterialModel.cs
│ │ ├── ItemMeleeWeapon.cs
│ │ ├── ItemSprayPaintModel.cs
│ │ ├── ItemLightModel.cs
│ │ ├── ItemMedicineModel.cs
│ │ ├── ItemRangedWeaponModel.cs
│ │ ├── ItemFoodModel.cs
│ │ ├── ItemSprayScent.cs
│ │ ├── ItemPrimedExplosive.cs
│ │ ├── ItemSprayPaint.cs
│ │ ├── AmmoType.cs
│ │ └── ItemMeleeWeaponModel.cs
│ ├── CSVField.cs
│ ├── UniqueItems.cs
│ ├── UniqueActor.cs
│ ├── MapObjects
│ │ ├── Board.cs
│ │ └── Fortification.cs
│ ├── Achievement.cs
│ ├── Goal
│ │ ├── DeathTrapped.cs
│ │ └── CoverTrap.cs
│ ├── CSVLine.cs
│ ├── AdvisorHint.cs
│ ├── NullSoundManager.cs
│ ├── Tasks
│ │ ├── TaskRemoveDecoration.cs
│ │ └── TaskEscapeNanny.cs
│ ├── PlayerCommand.cs
│ ├── Action
│ │ ├── BehavioristABC.cs
│ │ └── Choice.cs
│ ├── UniqueItem.cs
│ ├── HiScore.cs
│ └── CSVParser.cs
├── PointExtensions.cs
├── Properties
│ ├── Settings.cs
│ └── Resources.cs
├── UI
│ ├── README.txt
│ ├── Message.cs
│ └── IGameCanvas.cs
├── Gameplay
│ ├── GameSounds.cs
│ ├── AI
│ │ ├── Goals
│ │ │ ├── StageAction.cs
│ │ │ └── Pathfinder.cs
│ │ ├── Sensors
│ │ │ └── SmellSensor.cs
│ │ ├── SkeletonAI.cs
│ │ └── RatAI.cs
│ ├── GameGangs.cs
│ └── GameTips.cs
└── Logger_mock.cs
├── README.md
└── .hgtags
/PreRelease/Resources/Data/dummy.txt:
--------------------------------------------------------------------------------
1 | Don't delete me.
--------------------------------------------------------------------------------
/RogueSurvivor/IconPNG.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zaimoni/RSRevived/HEAD/RogueSurvivor/IconPNG.ico
--------------------------------------------------------------------------------
/RogueSurvivor/lib/sfmlnet-audio.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zaimoni/RSRevived/HEAD/RogueSurvivor/lib/sfmlnet-audio.dll
--------------------------------------------------------------------------------
/RogueSurvivor/lib/sfmlnet-window.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zaimoni/RSRevived/HEAD/RogueSurvivor/lib/sfmlnet-window.dll
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Traps.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zaimoni/RSRevived/HEAD/PreRelease/Resources/Data/Items_Traps.csv
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Barricading.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","VALUE","STACKINGLIMIT","FLAVOR"
2 | "BAR_WOODEN_PLANK","wooden plank","wooden planks",20,4,"Carpentry."
3 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Scentsprays.csv:
--------------------------------------------------------------------------------
1 | ID,NAME,PLURAL,QUANTITY,"STRENGTH in hours",FLAVOR
2 | SCENT_SPRAY_STENCH_KILLER,"stench killer","stench killers",40,3,"Smells like nothing."
--------------------------------------------------------------------------------
/RogueSurvivor/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Entertainment.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","STACKING","VALUE","BORE CHANCE per use","FLAVOR"
2 | "ENT_BOOK","book","books",1,120,5,"Read while you still can."
3 | "ENT_MAGAZINE","magazine","magazines",10,60,100,"Emergency toilet paper."
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Explosives.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","FUSE","MAXTHROW","STACKINGLIMIT","RADIUS","BLAST0","BLAST1","BLAST2","BLAST3","BLAST4","BLAST5","FLAVOR"
2 | "EXPLOSIVE_GRENADE","grenade","grenades",2,5,6,2,120,60,40,0,0,0,"Fire in the hole!"
3 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Lights.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","FOV bonus","BATTERIES in hours","FLAVOR"
2 | "LIGHT_FLASHLIGHT","flashlight","flashlights",1,24,"Let There Be Light!"
3 | "LIGHT_BIG_FLASHLIGHT","big flashlight","big flashlights",2,8,"Let There Be MORE Light!"
4 |
--------------------------------------------------------------------------------
/RogueSurvivor/RSConfig/RSConfig.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Form
7 |
8 |
9 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Spraypaints.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","QUANTITY","FLAVOR"
2 | "SPRAY_PAINT1","spray paint can","spray paint cans",10,"Yo Yellow!"
3 | "SPRAY_PAINT2","spray paint can","spray paint cans",10,"Yo Blue!"
4 | "SPRAY_PAINT3","spray paint can","spray paint cans",10,"Yo Red!"
5 | "SPRAY_PAINT4","spray paint can","spray paint cans",10,"Yo... Pink!?"
6 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Trackers.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","BATTERIES in hours","FLAVOR"
2 | "TRACKER_CELL_PHONE","cell phone","cell phones",72,"Hello? Still alive?"
3 | "TRACKER_ZTRACKER","Z-tracker","Z-trackers",8,"Aliens?"
4 | "TRACKER_BLACKOPS","blackOps GPS","blackOps GPS",2,"Good instadeath-Prediction System."
5 | "TRACKER_POLICE_RADIO","police radio","police radios",8,"Call 911 for zombies."
6 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Food.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","NUTRITION ratio of base food points","BESTBEFORE in days","STACKINGLIMIT","FLAVOR"
2 | "FOOD_ARMY_RATION","army ration","army rations",0.25,5,1,"Eat like a good soldier!"
3 | "FOOD_CANNED_FOOD","canned food","canned food",0.11,-1,3,"Better than dog food."
4 | "FOOD_GROCERIES","groceries","groceries",0.33,3,1,"They eat brains, you eat vegetables."
5 |
--------------------------------------------------------------------------------
/RogueSurvivor/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/RogueSurvivor/Data/BatteryPowered.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace djack.RogueSurvivor.Data
4 | {
5 | public interface BatteryPowered
6 | {
7 | int Batteries { get; set; }
8 | int MaxBatteries { get; }
9 | int RechargeRate { get { return Math.Max(WorldTime.TURNS_PER_HOUR, MaxBatteries / 8); } }
10 | void Recharge() { Batteries += RechargeRate; }
11 |
12 | bool AugmentsSenses(Actor a);
13 | }
14 | }
--------------------------------------------------------------------------------
/RogueSurvivor/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using djack.RogueSurvivor;
6 |
7 | [assembly: AssemblyDescription("")]
8 | [assembly: AssemblyTrademark("")]
9 | [assembly: ComVisible(false)]
10 | [assembly: Guid("8a2b9c0a-6dcb-4dfc-b96a-ade733831802")]
11 | [assembly: AssemblyTitle(SetupConfig.GAME_NAME+" " + SetupConfig.GAME_VERSION)]
12 |
--------------------------------------------------------------------------------
/RogueSurvivor/Zaimoni/Data/KVpair.cs:
--------------------------------------------------------------------------------
1 | namespace Zaimoni.Data
2 | {
3 | // for when the readonly value of the canonical KeyValuePair is problematic.
4 | // 2021-01-24: struct version cannot assign to Value reliably after construction
5 | public class KVpair
6 | {
7 | public readonly K Key;
8 | public V Value;
9 |
10 | public KVpair(K k, V v) {
11 | Key = k;
12 | Value = v;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/RogueSurvivor/RogueSurvivor.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Form
7 |
8 |
9 | Form
10 |
11 |
12 | UserControl
13 |
14 |
15 |
--------------------------------------------------------------------------------
/RogueSurvivor/Data/IInventory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace djack.RogueSurvivor.Data
8 | {
9 | internal interface IInventory
10 | {
11 | public Inventory Inventory { get; }
12 |
13 | bool IsCarrying(Item it);
14 | bool IsCarrying(RogueSurvivor.Gameplay.Item_IDs it);
15 |
16 | void Remove(Item it, bool canMessage = true);
17 | bool CanTake(Item it);
18 | bool Take(Item it);
19 |
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/RogueSurvivor/Data/DollBody.cs:
--------------------------------------------------------------------------------
1 | // Decompiled with JetBrains decompiler
2 | // Type: djack.RogueSurvivor.Data.DollBody
3 | // Assembly: RogueSurvivor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null
4 | // MVID: D2AE4FAE-2CA8-43FF-8F2F-59C173341976
5 | // Assembly location: C:\Private.app\RS9Alpha.Hg\RogueSurvivor.exe
6 |
7 | namespace djack.RogueSurvivor.Data
8 | {
9 | public class DollBody
10 | {
11 | public readonly bool IsMale;
12 | public readonly int Speed;
13 |
14 | public DollBody(bool isMale, int speed)
15 | {
16 | IsMale = isMale;
17 | Speed = speed;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/PreRelease/Resources/Data/Items_Medicine.csv:
--------------------------------------------------------------------------------
1 | "ID","NAME","PLURAL","HP","STA","SLP","INF","SAN","STACKING","FLAVOR"
2 | "MEDICINE_BANDAGES","bandages","bandages",2,0,0,0,0,5,"Nothing. A little blood."
3 | "MEDICINE_MEDIKIT","medikit","medikit",10,0,0,4,0,0,"Saves lives. Especially yours."
4 | "MEDICINE_PILLS_STA","green pills","green pills",0,20,0,0,0,20,"Gives a good kick in the ass."
5 | "MEDICINE_PILLS_SLP","blue pills","blue pills",0,0,120,0,0,20,"HEY! WAKE UP!"
6 | "MEDICINE_PILLS_SAN","orange pills","orange pills",0,0,0,0,30,20,"Everything will be fine."
7 | "MEDICINE_PILLS_ANTIVIRAL","antiviral pills","antiviral pills",0,0,0,12,0,6,"Kill it with pills."
8 |
--------------------------------------------------------------------------------
/RogueSurvivor/Engine/RaidType.cs:
--------------------------------------------------------------------------------
1 | // Decompiled with JetBrains decompiler
2 | // Type: djack.RogueSurvivor.Engine.RaidType
3 | // Assembly: RogueSurvivor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null
4 | // MVID: D2AE4FAE-2CA8-43FF-8F2F-59C173341976
5 | // Assembly location: C:\Private.app\RS9Alpha.Hg\RogueSurvivor.exe
6 |
7 | using System;
8 |
9 | namespace djack.RogueSurvivor.Engine
10 | {
11 | [Serializable]
12 | public enum RaidType
13 | {
14 | BIKERS = 0,
15 | GANGSTA = 1,
16 | BLACKOPS = 2,
17 | SURVIVORS = 3,
18 | NATGUARD = 4,
19 | ARMY_SUPLLIES = 5,
20 | _COUNT = 6,
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/RogueSurvivor/Engine/UniqueMap.cs:
--------------------------------------------------------------------------------
1 | // Decompiled with JetBrains decompiler
2 | // Type: djack.RogueSurvivor.Engine.UniqueMap
3 | // Assembly: RogueSurvivor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null
4 | // MVID: D2AE4FAE-2CA8-43FF-8F2F-59C173341976
5 | // Assembly location: C:\Private.app\RS9Alpha.Hg\RogueSurvivor.exe
6 |
7 | using djack.RogueSurvivor.Data;
8 | using System;
9 |
10 | #nullable enable
11 |
12 | namespace djack.RogueSurvivor.Engine
13 | {
14 | [Serializable]
15 | public readonly struct UniqueMap
16 | {
17 | public readonly Map TheMap;
18 | public UniqueMap(Map src) { TheMap = src; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/RogueSurvivor/RSConfig/RSConfig.cs:
--------------------------------------------------------------------------------
1 | // Decompiled with JetBrains decompiler
2 | // Type: Setup.Program
3 | // Assembly: RSConfig, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
4 | // MVID: 5A6245E6-7D9A-4424-BC16-B17B9A5036B9
5 | // Assembly location: C:\Private.app\RS9Alpha.Hg\RSConfig.exe
6 |
7 | using System;
8 | using System.Windows.Forms;
9 |
10 | namespace Setup
11 | {
12 | internal static class Program
13 | {
14 | [STAThread]
15 | private static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new ConfigForm());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/RogueSurvivor/Zaimoni/Data/Operator.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | #nullable enable
4 |
5 | namespace Zaimoni.Data
6 | {
7 | public interface Operator where OP:class
8 | {
9 | bool IsLegal();
10 | OP? Bind(SRC src);
11 | }
12 |
13 | internal interface BackwardPlan
14 | {
15 | List? prequel();
16 | }
17 |
18 | internal interface CanReduce
19 | {
20 | OP? Reduce();
21 | }
22 |
23 | internal interface CanComplete
24 | {
25 | bool IsCompleted(SRC src);
26 | }
27 |
28 | internal interface CanFinish
29 | {
30 | bool IsCompleted();
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/RogueSurvivor/Engine/AI/Sensor.cs:
--------------------------------------------------------------------------------
1 | // Decompiled with JetBrains decompiler
2 | // Type: djack.RogueSurvivor.Engine.AI.Sensor
3 | // Assembly: RogueSurvivor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null
4 | // MVID: D2AE4FAE-2CA8-43FF-8F2F-59C173341976
5 | // Assembly location: C:\Private.app\RS9Alpha.Hg\RogueSurvivor.exe
6 |
7 | #nullable enable
8 |
9 | using System.Collections.Generic;
10 |
11 | using Actor = djack.RogueSurvivor.Data.Actor;
12 | using Percept = djack.RogueSurvivor.Engine.AI.Percept_