Ludeon Forums

Ludeon Forums

  • December 01, 2020, 10:49:18 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Single-tile battery gauge  (Read 678 times)

MarvinKosh

  • Mad Tester
  • Super Tester
  • Planetologist
  • ***
  • Posts: 2166
    • View Profile
    • My RimWorld 1.0 Mods
Single-tile battery gauge
« on: December 26, 2014, 08:45:24 PM »

I added a single-tile battery for a mod I'm working on. However, obviously, the gauge fills as if the battery is two tiles big. Do I need an assembly to fix this?

JuliaEllie

  • Colonist
  • ***
  • Posts: 774
  • I am the one who mods.
    • View Profile
Re: Single-tile battery gauge
« Reply #1 on: December 27, 2014, 02:28:46 PM »

I added a single-tile battery for a mod I'm working on. However, obviously, the gauge fills as if the battery is two tiles big. Do I need an assembly to fix this?

yes because the drawer for the battery gauge is hard coded to two squares. You will have to write your own and make it only draw one square long.