User talk:Spdskatr

From RimWorld Wiki
Jump to: navigation, search

Contents

Thread titleRepliesLast modified
Mass for raw food015:57, 11 January 2017
Mass for life stages216:57, 10 January 2017
Mass field shows up on items that don't have mass.122:28, 23 December 2016

Mass for raw food

For the raw food, like corn, there's mass located in the infobox/food which isn't being used and then in base stats there's mass being used there, I just wanted to know if the mass goes in base stats for all of them

Skywardhigh (talk)15:57, 11 January 2017

Mass for life stages

Would it be worth adding the different masses for life stages of animals? You know, Baby, Juvenile and Adult or would it be pointless?

Skywardhigh (talk)09:40, 9 January 2017

Hmm... Good point. I've added these stats in Template:Infobox main. However, if I am mistaken you can calculate the masses for these animals by dividing the base mass by 2 and by 4. Eg Muffalo - 140kg adult, 70kg juvenile, 35kg young

EDIT: I've made a calculator that would automatically calculate the mass for the earlier life stages if the adulthood mass is provided.

Spdskatr (talk)22:40, 9 January 2017

Thanks for that, wasn't sure how to do it and yes you are right it's divisible by 2 and 4

Skywardhigh (talk)16:57, 10 January 2017
 
 

Mass field shows up on items that don't have mass.

The mass field doesn't make sense for items that don't have mass, like walls or stuff like Potato plant.

Needs a switch to check if mass is provided, I suppose?

Zesty (talk)10:08, 23 December 2016

I've already started to work on it in {{Infobox/Thing}}, though I can't work on it right now. The basics are to modify the #ifeq and surround it with another #switch. It's probably getting confusing.

EDIT: Just use #ifeq around the whole {{Entry}}.

EDIT EDIT: It is done, but I used #switch.

Spdskatr (talk)12:36, 23 December 2016