-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
021cb8f
commit f121812
Showing
6 changed files
with
61 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bin/ | ||
obj/ | ||
Assembly-CSharp.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="Assembly-CSharp.dll" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using XRL.Liquids; | ||
using XRL.World; | ||
using XRL.World.Parts; | ||
|
||
namespace XRL.Liquids { | ||
namespace XRL.Liquids | ||
{ | ||
[IsLiquid] | ||
public class LiquidBajaBlast : BaseLiquid { | ||
private static BaseLiquid Convalessence = LiquidVolume.getLiquid ("convalessence"); | ||
|
||
public LiquidBajaBlast () : base (Convalessence.ID, Convalessence.FlameTemperature, Convalessence.VaporTemperature, Convalessence.Cooling) {} | ||
|
||
public override void BeforeRender (LiquidVolume Liquid, Event eRender) { | ||
Convalessence.BeforeRender (Liquid, eRender); } | ||
|
||
public override void BeforeRenderSecondary (LiquidVolume Liquid, Event eRender) { | ||
Convalessence.BeforeRenderSecondary (Liquid, eRender); } | ||
|
||
public override bool Drank (LiquidVolume Liquid, int Volume, GameObject Target, StringBuilder Message, ref bool ExitInterface) { | ||
return Convalessence.Drank (Liquid, Volume, Target, Message, ref ExitInterface); } | ||
|
||
public override bool Froze (LiquidVolume Liquid) { | ||
return Convalessence.Froze (Liquid); } | ||
|
||
public override string GetAdjective (LiquidVolume Liquid) { | ||
if (Liquid == null || Liquid.ComponentLiquids [Convalessence.ID] > 0) { | ||
return "&Cbaja"; } | ||
else { | ||
return null; } } | ||
|
||
public override string GetColor () { | ||
return Convalessence.GetColor (); } | ||
|
||
public override List<string> GetColors () { | ||
return Convalessence.GetColors (); } | ||
|
||
public override string GetName (LiquidVolume _) { | ||
return "&Cbaja blast"; } | ||
|
||
public override int GetNavigationWeight (LiquidVolume Liquid, GameObject GO, bool Smart, bool Slimewalking, ref bool Uncacheable) { | ||
return Convalessence.GetNavigationWeight (Liquid, GO, Smart, Slimewalking, ref Uncacheable); } | ||
|
||
public override string GetPreparedCookingIngredient () { | ||
return Convalessence.GetPreparedCookingIngredient (); } | ||
|
||
public override string GetSmearedName (LiquidVolume _) { | ||
return "&Cbaja"; } | ||
|
||
public override void ObjectInCell (LiquidVolume Liquid, GameObject GO) { | ||
Convalessence.ObjectInCell (Liquid, GO); } | ||
|
||
public override void RenderBackground (LiquidVolume Liquid, RenderEvent eRender) { | ||
Convalessence.RenderBackground (Liquid, eRender); } | ||
|
||
public override void RenderPrimary (LiquidVolume Liquid, RenderEvent eRender) { | ||
Convalessence.RenderPrimary (Liquid, eRender); } | ||
|
||
public override void RenderSecondary (LiquidVolume Liquid, RenderEvent eRender) { | ||
Convalessence.RenderSecondary (Liquid, eRender); } | ||
|
||
public override void RenderSmearPrimary (LiquidVolume Liquid, RenderEvent eRender) { | ||
Convalessence.RenderSmearPrimary (Liquid, eRender); } } } | ||
[System.Serializable] | ||
public class LiquidBajaBlast : LiquidConvalessence | ||
{ | ||
public const string NAME = "{{C|baja blast}}"; | ||
public const string ADJECTIVE = "{{C|baja}}"; | ||
public const string STAINED_NAME = "{{C|baja-blast}}"; | ||
|
||
public override string GetAdjective(LiquidVolume _) | ||
{ | ||
return ADJECTIVE; | ||
} | ||
|
||
public override string GetName(LiquidVolume _) | ||
{ | ||
return NAME; | ||
} | ||
|
||
public override string GetSmearedName(LiquidVolume _) | ||
{ | ||
return ADJECTIVE; | ||
} | ||
|
||
public override string GetStainedName(LiquidVolume _) | ||
{ | ||
return STAINED_NAME; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
This purely cosmetic mod “adds” baja blast to the game. (It was already in the | ||
game under the name of convalessence.) | ||
Baja Blast is a cosmetic Caves of Qud mod that clarifies the truth of convalessence: That it is baja blast. | ||
|
||
Official repository: https://github.com/HeladoDeBrownie/Caves-of-Qud-Baja-Blast | ||
The latest release was tested with Caves of Qud version 2.0.201.5. | ||
|
||
See [the spoilers](Spoilers.markdown) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
- Convalessence is now called `baja blast`. | ||
- An object that has had baja blast poured on it is described as `baja`. | ||
- A mixture in which baja blast is not the primary liquid is described as `baja`. | ||
- There are no functional changes. Baja blast acts just like convalessence. | ||
In total, this mod: | ||
|
||
* renames convalessence to “baja blast”; | ||
* changes the adjective for convalessence to “baja”; | ||
* changes the smeared name for convalessence to “baja”; | ||
* and changes the stained name for convalessence to “baja-blast” (as in “baja-blast-stained”; this probably doesn't matter since convalessence doesn't stain). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
{"workshopId":1798541850,"Title":"Baja Blast","Description":"This purely cosmetic mod “adds” baja blast to the game. (It was already in the game under the name of convalessence.)\n\nOfficial repository: https://github.com/HeladoDeBrownie/Caves-of-Qud-Baja-Blast","Tags":"cosmetic,scripting","Visibility":"2","ImagePath":"preview.png"} | ||
{ | ||
"workshopId": 1798541850, | ||
"Title": "Baja Blast", | ||
"Description": "Baja Blast is a cosmetic Caves of Qud mod that clarifies the truth of convalessence: That it is baja blast.\n\nThe latest release was tested with Caves of Qud version 2.0.201.5.\n\nSee spoilers and more at: https://github.com/HeladoDeBrownie/Caves-of-Qud-Baja-Blast", | ||
"Tags": "Cosmetic,Liquid,Script", | ||
"Visibility": "2", | ||
"ImagePath": "preview.png" | ||
} |