Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - tremono

#1
I have an ice cream (practically chocolate with hediff) that a little helps to survive the heat wave.
I need pawns to eat it at high temperature automatically.

concept is:
Pawn is in heat, so he go and eat ice cream.
If pawn eat ice cream, he gets hediff.
When hediff is over (or in last phase), and is still in heat, he gets an urge to eat another ice cream.

Some idea how to do it? Is it possible to do this or something similar in XML? Thans very much. :)
#2
It's possible using hediffs (respectively XML) to change comfortable temperature range, if pawn ate food? And how? Thanks.
#3
Outdated / [B18] Permawall 0.1
March 30, 2018, 06:53:58 AM


This mod adds unbreakable wall for map editing. Can't be selected or deconstructed... some force field protects this wall. Buildable in DEV mode only.
Two types: first (in DEV spawn list) is realy super strong, second type looks same, but can be destroyed (with patience) and has random damage. You can close your pawns into box for another game style, or make labyrint with hidden weaker partitions, i dont know, it need testing and your imagination.

Testing needed, this is initial release. Probably need more modding or map editing for smooth gameplay.
I plan to add more features. Your feedback is very welcomed. Thanks.


Usage: DEV mode ON -> Tool:Try place direct thing -> Permawall
If your box is ready, DEV -> Refog
(in list are two "Permawall", first is unbreakable, second damaged - but ingame looks same, only has %damage)




Download 0.1 b18.1722
Initial release.



#4
Releases / [B18] Vegan 0.4.2
December 13, 2017, 05:17:36 PM

If you don't want to run a bloody slaughterhouse full of bodies for fine meal. Little more realistic to the game...
Two different ways to get a meat substitute (tofu cooking, tempeh fermenting).


Mod summary:
New crop Soya plant (ground or hydroponic)
New item Soybeans
New item Soymilk (tofu ingredient)
New item Tofu (cooking)
New item Tempeh (in fermenting barrel)
Edited building Fermenting Barrel (recipes:beer/tempeh, texture by content)




Download 0.4.2 b18.1722
*Soymilk is back. Vanilla Fermenting Barrel reworked using dll from Universal Fermenter mod -> tempeh added.
Your feedback is very welcomed. Thanks.





BTW i used two icons from Synthmeat mod, and Universal Fermenter code. Thanks!
#5
Hello,

I want use <placeworker> for building on specify terrain. For example build only on soil, but not on gravel or soilrich (so can't use <terrainAffordanceNeeded>GrowSoil</terrainAffordanceNeeded> etc.)

I find ready solutions for few terrains in another mod dll, but i need for other terrains too. I tried edit and compile exist dll, but i have errors (
I do not understand that,noob.)

This is more or less, what i want for all terrains. Decompiled (dotPeek) from Terraforming mod, but dont know, how compile it right (VisualStudio):

using Verse;

namespace RimWorld
{
  public class PlaceWorker_OnSoil : PlaceWorker
  {
    public PlaceWorker_OnSoil()
    {
      base..ctor();
    }

    public virtual AcceptanceReport AllowsPlacing(BuildableDef Building, IntVec3 loc, Rot4 rot)
    {
      if ((string) ((Def) Find.get_TerrainGrid().TerrainAt(loc)).defName == "Soil")
        return AcceptanceReport.op_Implicit(true);
      return AcceptanceReport.op_Implicit("Can only place this item on normal soil.");
    }
  }
}


Error on "base..ctor();" line:
error CS1001: Identifier expected

I tried "base();", but have few more errors.

Please help me solve compilation problem OR find ready solution, if exist. Thank you.