Jump to content

SirBlob

Member
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SirBlob's Achievements

  1. Ok I found this inside the games code } public int getPipedFuelAmount() { if (this.sprite == null) { return 0; } double doubleValue = 0.0; if (this.hasModData() && !this.getModData().isEmpty()) { final Object rawget = this.getModData().rawget((Object)"fuelAmount"); if (rawget != null) { doubleValue = (double)rawget; } } if (this.sprite.getProperties().Is("fuelAmount")) { if (SandboxOptions.instance.FuelStationGas.getValue() == 7) { return 1000; } if (doubleValue == 0.0 && ((SandboxOptions.getInstance().AllowExteriorGenerator.getValue() && this.getSquare().haveElectricity()) || GameTime.getInstance().getNightsSurvived() < SandboxOptions.instance.getElecShutModifier())) { float n = 0.8f; float n2 = 1.0f; switch (SandboxOptions.getInstance().FuelStationGas.getValue()) { case 1: { n2 = (n = 0.0f); break; } case 2: { n = 0.2f; n2 = 0.4f; break; } case 3: { n = 0.3f; n2 = 0.5f; break; } case 4: { n = 0.5f; n2 = 0.7f; break; } case 5: { n = 0.7f; n2 = 0.8f; break; } case 6: { n = 0.8f; n2 = 0.9f; break; } case 7: { n2 = (n = 1.0f); break; } } final double d = (int)Rand.Next(Integer.parseInt(this.sprite.getProperties().Val("fuelAmount")) * n, Integer.parseInt(this.sprite.getProperties().Val("fuelAmount")) * n2); this.getModData().rawset((Object)"fuelAmount", (Object)d); this.transmitModData(); return (int)d; } } return (int)doubleValue; } Would it be possible to somehow add another "case"? Like let's say extremely low and make it case 8?
  2. Is there any way to even further reduce the amount of fuel in gas stations? When you set the intial fuel amount to very, low the gas pumps already spawn with 5-7k fuel each, which will last forever. So any simple way to reduce it even further?
×
×
  • Create New...