Difference between revisions of "User:Harakoni/Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 438: Line 438:
 
**This same method could be used for automatic weapon materials tables. Maybe merged quality/material table.
 
**This same method could be used for automatic weapon materials tables. Maybe merged quality/material table.
 
**Example of ask command that could do whats needed: {{#ask:[[Coverage::~*Left Shoulder*]]}}
 
**Example of ask command that could do whats needed: {{#ask:[[Coverage::~*Left Shoulder*]]}}
 +
 +
{{#ask: [[Resource 1::+]] [[!Category:Building]] [[!Category:Furniture]]  [[!Category:Miscellaneous]] [[!Category:Security]] [[!Category:Production]]
 +
| ?Production Facility 1
 +
| sort = Production Facility 1
 +
| columns = 3
 +
| limit = 100
 +
}}
  
 
{{#ask: [[Category:Animals]] [[Health Scale::+]]
 
{{#ask: [[Category:Animals]] [[Health Scale::+]]

Revision as of 13:38, 19 April 2021

https://rimworldwiki.com/wiki/User:Harakoni/Sandbox?action=purge

https://www.mediawiki.org/wiki/Manual:Purge

Animal infobox builder test

Script error: The module returned a nil value. It is supposed to return an export table.


Questions for Dr Strangelove:

  • How would I go about getting the AnimalAdult number from lifeStageAges
  • How do I get all the different attacks when they're not numbered? Both how do I test for their existiance and then how do I get the data from it.
  • How do I get litter size?
  • tradeTags returns as table?

Questions for me:

  • How do I convert diet into wiki legible - just use a switch?
  • Even if I get litter size, how do I convert it to wiki readable? Take the largest value, check if its equal to the round 0 version of itself, and then if it isn't +1?


{{infobox main|animal|

|name = Rhinoceros

|image = Rhinoceros.png

|description = Script error: The module returned a nil value. It is supposed to return an export table.

|type = Animals

|type2 = Wild

|bodysize = Script error: The module returned a nil value. It is supposed to return an export table.

|healthscale = Script error: The module returned a nil value. It is supposed to return an export table.

|movespeed = Script error: The module returned a nil value. It is supposed to return an export table.

|attack1dmg = Script error: The module returned a nil value. It is supposed to return an export table.

|attack1type = Script error: The module returned a nil value. It is supposed to return an export table.

|attack1part = Script error: The module returned a nil value. It is supposed to return an export table.

|attack1cool = Script error: The module returned a nil value. It is supposed to return an export table.

|attack2dmg = Script error: The module returned a nil value. It is supposed to return an export table.

|attack2type = Script error: The module returned a nil value. It is supposed to return an export table.

|attack2part = Script error: The module returned a nil value. It is supposed to return an export table.

|attack2cool = Script error: The module returned a nil value. It is supposed to return an export table.

|leathername = Script error: The module returned a nil value. It is supposed to return an export table.

|leatheryield = Script error: The module returned a nil value. It is supposed to return an export table.

|manhunter = Script error: The module returned a nil value. It is supposed to return an export table.

|manhuntertame = Script error: The module returned a nil value. It is supposed to return an export table.

|hungerrate = Script error: The module returned a nil value. It is supposed to return an export table.

|diet = Script error: The module returned a nil value. It is supposed to return an export table.

|trainable = Script error: The module returned a nil value. It is supposed to return an export table.

|wildness = Script error: The module returned a nil value. It is supposed to return an export table.

|gestation = Script error: The module returned a nil value. It is supposed to return an export table.

|offspring = Script error: The module returned a nil value. It is supposed to return an export table.

|maturityage = Script error: The module returned a nil value. It is supposed to return an export table.

|marketvalue = Script error: The module returned a nil value. It is supposed to return an export table.

|lifespan = Script error: The module returned a nil value. It is supposed to return an export table.

|massadult = Expression error: Unexpected < operator.

|min comfortable temperature = Script error: The module returned a nil value. It is supposed to return an export table.

|max comfortable temperature = Script error: The module returned a nil value. It is supposed to return an export table.

|tradeTags = Script error: The module returned a nil value. It is supposed to return an export table.

|page verified for version = 1.5.4241

}}

Loop

{{{2}}}

remove linkng

100




MBOX





Page existence

The image is a link, and it has an explanatory mouse over.


  • [[example|{{#ifexist: example|<span style="color:green;">This page exists.</span>|This page does not exist.}}]]
  • [[exampl|{{#ifexist: exampl|<span style="color:green;">This page exists.</span>|This page does not exist.}}]]

Weapon Table

}} This article is about the base weapon, for the persona weapon, see Persona zeushammerThis article is about the Persona weapon, for the base weapon, see Zeushammer AP = flat scalar Does this armor occupy the middle layer Ex.pngCheck.pngEx.png Middle, Outer 0 p Skin
Name Average DPS Damage type Average AP Value Silver
Axe Axe
Wood Wood 1.2
Beer Beer 12
Bionic arm Bionic arm 1,030
Club Club
Elephant tusk Elephant tusk 80
Gladius Gladius
Ikwa Ikwa
Jade knife Jade knife 159
Knife Knife
Longsword Longsword
Mace Mace
Monosword Monosword 2,000
Persona monosword Persona monosword 3,000
Plasmasword Plasmasword 2,000
Persona plasmasword Persona plasmasword 3,000
Eltex staff Eltex staff 2,000
Spear Spear
Thrumbo horn Thrumbo horn 800
Warhammer Warhammer
Zeushammer Zeushammer 2,000
Persona zeushammer Persona zeushammer 3,000
Archotech arm Archotech arm 2,800
Power claw Power claw 385
Prosthetic arm Prosthetic arm 260
Drill arm Drill arm 425
Elbow blade Elbow blade 355
Field hand Field hand 425
Hand talon Hand talon 355
Venom talon Venom talon 355
Venom fangs Venom fangs 355
Knee spike Knee spike 355
Name Sharp Blunt Heat HP Effects Coverage Value Silver [A]
Simple helmet Gold Simple helmet 36% 18% 18% 48 None Head, Left Ear, Right Ear Silver 1460
A Hat includes Bowler hats, Cowboy hat, Tribal headdresses, Tuques and War veils"

Example way to display outdated data page

Alpaca, Alphabeaver, Arctic fox, Arctic wolf, Barkskin, Berrymaker, Bison, Boomalope, Boomrat, Capybara, Caribou, Carrier, Cassowary, Cat, Chicken, Chinchilla, Clawer, Cobra, Cougar, Cow, Deer, Dirtmoles, Donkey, Dromedary, Duck, Elephant, Elk, Emu, Fennec fox, Gaumaker, Gazelle, Genies, Goat, Goose, Grizzly bear, Guinea pig, Hare, Highmates, Horse, Human, Husky, Hussars, Ibex, Iguana, Immature dryad, Impids, Labrador retriever, Lynx, Medicinemaker, Megascarab... further results

This displays all pages in a category that aren't Verified for the current version using Template: Verified. Animals is used here for function testing but all that would be required would be for the pages to atuomatically have

[[Category: Data Pages]] {{Verified|<version number here>}}

When tehy're created and then we could have the

{{#ask: [[Category:Data Pages]]  [[Verified For::!Version/{{Current Version}}]]}}

On the To-Do page to remind people to update the data pages as needed.

Asks

 Production Facility 1
Sleep accelerator
Vitals monitor
Large nature shrine
Atmospheric heater
Fueled smithy
Ship landing beacon
Bonsai pot
Toy box
Crashed mechanitor ship
Autocannon turret
Double bed
Mindbend carpet
Chess table
Sun lamp
Psychofluid pump
Armchair
Pyre
Mech gestator
End table
Rustic rug (medium)
Standing lamp
Biofuel refinery
Electric inhibitor
Spikecore stone tile
Gene extractor
Pew
Kneel sheet
Shard beacon
Door
IED antigrain warhead trap
Animalist slab (broad)
Hoopstone ring
Bookcase
Animal flap
Medium altar
Gene bank
Brewery
Fabrication bench
Meditation throne
Lectern
Autodoor
Neural supercharger
Ship structural beam
Silver tile
Art bench
Darktorch
Security door
Mortar
Sensor cluster
Couch
Firefoam popper
Darklight brazier
Baby decoration
Tactical turret
Mini-turret
Drug lab
Large stele
Spikecore plates
Long-range mineral scanner
Subcore softscanner
Billiards table
Power conduit
Passive cooler
Bed
Mech recharger
Animal sleeping box
Grand meditation throne
Geothermal generator
Hand tailor bench
Spikecore floor-star (broad)
Hidden conduit
Plant pot
Electroharvester
Gene assembler
Uranium slug turret
Transport pod
Drum
Kneel pillow
Dresser
Mechband antenna
Electric smithy
Fine stone tile
Animalist slab (medium)
Sleep suppressor
Small bookcase
Straw matting
Small altar
Pollution pump
Wind turbine
Brazier
Reliquary
Hemopump
Ship cryptosleep casket
Ideogram
Gold tile
Slab bed
Ship computer core
Chemfuel powered generator
Wall torch lamp
Fueled stove
... further results
 Health Scale
Squirrel0.25
Rat0.29
Waste rat0.29
Chicken0.35
Duck0.35
Snowhare0.4
Guinea pig0.4
Megascarab0.4
Raccoon0.4
Goose0.4
Yorkshire terrier0.4
Hare0.4
Chinchilla0.4
Boomrat0.4
Cat0.42
Monkey0.45
Iguana0.5
Cobra0.5
Turkey0.6
Tortoise0.6
Boomalope0.65
Toxalope0.65
Capybara0.7
Arctic fox0.7
Fennec fox0.7
Pig0.7
Goat0.7
Red fox0.7
Gazelle0.7
Wild boar0.7
Sheep0.7
Alphabeaver0.7
Clawer0.7
Cassowary0.8
Lynx0.8
Carrier0.8
Woodmaker0.8
Medicinemaker0.8
Berrymaker0.8
Gaumaker0.8
Immature dryad0.8
Ibex0.85
Emu0.9
Deer0.9
Barkskin0.9
Timber wolf0.99
Arctic wolf0.99
Ostrich1
Labrador retriever1
Alpaca1
Human1
Husky1.05
Panther1.3
Cougar1.3
Warg1.4
Donkey1.45
Cow1.5
Yak1.5
Dromedary1.6
Spelopede1.7
Horse1.75
Muffalo1.75
Bison1.75
Elk1.9
Caribou2
Polar bear2.5
Megaspider2.5
Grizzly bear2.5
Rhinoceros3.5
Megasloth3.6
Elephant3.6
Thrumbo8

Megascarab, Megascarab cocoon, Megaspider cocoon, Spelopede, Spelopede cocoon

Agrihand, Apocriton, Auto charge turret, Auto inferno turret, Auto mortar, Centipede, Centipede blaster, Centipede burner, Centipede gunner, Centurion, Cleansweeper, Constructoid, Diabolus, Fabricor, Lancer, Legionary, Lifter, Megascarab, Megascarab cocoon, Megaspider, Megaspider cocoon, Militor, Mini-slugger turret, Paramedic, Pikeman, Scorcher, Scyther, Spelopede, Spelopede cocoon, Termite, Tesseron, Tunneler, War queen, War urchin

Airwire headset, Array headset, Authority cap, Beret, Blindfold, Bowler hat, Broadwrap, Burka, Button-down shirt, Cape, Ceremonial hood, Coronet, Corset, Cowboy hat, Crown, Duster, Face mask, Flophat, Formal shirt, Formal vest, Gas mask, Headwrap, Heavy bandolier, Hood, Jacket, Kid pants, Kid parka, Kid romper, Kid shirt, Kid tribalwear, Lab coat, Ladies hat, Pants, Parka, Prestige robe, Ritual mask, Robe, Sash, Shadecone, Slave body strap, Slave collar, Slicecap, Stellic crown, T-shirt, Tailcap, Top hat, Torture crown, Tribal headdress, Tribalwear, Tuque... further results


Airwire headset, Array headset, Authority cap, Beret, Blindfold, Bowler hat, Broadwrap, Burka, Button-down shirt, Cape, Ceremonial hood, Coronet, Corset, Cowboy hat, Crown, Duster, Face mask, Flophat, Formal shirt, Formal vest, Gas mask, Headwrap, Heavy bandolier, Hood, Jacket, Kid pants, Kid parka, Kid romper, Kid shirt, Kid tribalwear, Lab coat, Ladies hat, Pants, Parka, Prestige robe, Ritual mask, Robe, Sash, Shadecone, Slave body strap, Slave collar, Slicecap, Stellic crown, T-shirt, Tailcap, Top hat, Torture crown, Tribal headdress, Tribalwear, Tuque... further results


 Market Value Base
Animal bed
Animal flap
Animal sleeping box
Animalist slab (broad)
Animalist slab (medium)
Armchair
Art bench
Authority cap
Autobong
Autodoor
Axe
Baby decoration
Barricade
Bed
Bedroll
Beret
Billiards table
Blackboard
Blindfold
Bonsai pot
Bookcase
Bowler hat
Brazier
Breach axe
Broadwrap
Burka
Butcher table
Button-down shirt
Cape
Ceremonial hood
Chess table
Club
Column
Coronet
Corset
Couch
Cowboy hat
Crib
Crown
Darklight brazier
Dining chair
Door
Double bed
Double bedroll
Drape
Dresser
Drug lab
Drum
Duster
Egg box
Electric crematorium
Electric tailor bench
End table
Face mask
Fence
Fence gate
Fine stone tile36
Flagstone5.5
Flak helmet
Flophat
Foam turret
Formal shirt
Formal vest
Game-of-Ur board
Gibbet cage
Gladius
Grand altar
Grand meditation throne
Grand sculpture
Grand stele
Hand tailor bench
Headwrap
Heavy bandolier
Hi-tech research bench
Hood
Hoopstone ring
Horseshoes pin
Hospital bed
Ikwa
Jacket
Kid helmet
Kid pants
Kid parka
Kid romper
Kid shirt
Kid tribalwear
Kneel pillow
Kneel sheet
Knife
Lab coat
Ladies hat
Large altar
Large nature shrine
Large sculpture
Large stele
Lectern
Longsword
Mace
Meditation throne
Medium altar
Mini-turret
Morbid slab (broad)
Morbid slab (medium)
Morbid stone tile36
Mortar
Ornate door
Pants
Parka
Patchleather1.5
Pen marker
Pew
Plant pot
Plate armor
Poker table
Prestige robe
Reliquary
Robe
Royal bed
Sandbags
Sarcophagus
Sash
School desk
Shadecone
Shelf
Simple helmet
Simple research bench
Skullspike
Slab bed
Slab double bed
Slave body strap
Slave collar
Slicecap
Small altar
Small bookcase
Small nature shrine
Small sculpture
Small shelf
Spear
Spike trap
Spikecore stone tile36
Stellic crown
Stone tile8
Stonecutter's table
Stool
Styling station
T-shirt
Table (1x2)
Table (2x2)
Table (2x4)
Table (3x3)
Tailcap
Terror sculpture
Top hat
Torture crown
Totemic slab (broad)
Totemic slab (medium)
Totemic stone tile36
Toy box
Tribal headdress
Tribalwear
Tuque
Urn
Veil
Visage mask
Wall
War mask38
Warhammer
 ModeDamage BaseArmor PenetrationResources To Make
Assault rifleBurst1116
AutocannonBurst2740
AutopistolSingle-Shot1015
AxeMelee
Beam graser1050
BeerMelee
Blunt weapons
Bolt-action rifleSingle-Shot1827
Breach axeMelee
Chain shotgunBurst1814
Charge blaster turretSingle-Shot1522.5
Charge lanceSingle-Shot3045
Charge rifleBurst1535
ClubMelee
Club (disambiguation)
Damage per Second
Doomsday rocket launcherSingle-Use5010
EMP grenadesSingle Thrown50
EMP launcherSingle-Shot500
Elephant tuskMelee
Eltex staffMelee
FlamebowSingle-Shot69
Frag grenadesSingle Thrown5010
GladiusMelee
GreatbowSingle-Shot1715
Grenades
Grenadier armorSingle-Shot5010
Hammer
Heavy SMGBurst1218
Heavy charge blasterBurst1522
Hellcat rifleBurst1015
Hellsphere cannon800100
IkwaMelee
Incendiary launcherSingle-Shot100
Incinerator100
Industrial Weapons
Inferno cannonSingle-Shot100
Inferno cannon (Turret)Single-Shot10
Jade knifeMelee
KnifeMelee
Knife (disambiguation)
LMGBurst1116
Launcher
Light charge blasterBurst1522
LongswordMelee
MaceMelee
Machine pistolBurst69
Mechanoid Weapons
Medieval Weapons
Mini-flameblaster
Mini-shotgun1018
Mini-sluggerSingle-Shot1218
Mini-turret gunBurst1218
MinigunBurst1015
Molotov cocktailsSingle Thrown10
MonoswordMelee
Needle gunSingle-Shot1535
Needle launcherSingle-Shot1535
Neolithic Weapons
Nerve spikerSingle-Shot1116
Persona monoswordMelee
Persona plasmaswordMelee
Persona weapon
Persona zeushammerMelee
Phoenix armorSingle-Shot100
PilaSingle-Shot2510
PlasmaswordMelee
Pump shotgunSingle-Shot1814
Recurve bowSingle-Shot1421
RevolverSingle-Shot1218
Rifles
Sharp weapons
Short bowSingle-Shot1116
Shotgun
Single-Shot Weapons
SlugthrowerSingle-Shot1218
Smoke launcherSingle-Shot0
Sniper rifleSingle-Shot2538
Spacer Weapons
SpearMelee
SpinerSingle-Shot1218
Sword
Tactical turret gunBurst1218
Thrumbo hornMelee
Thump cannonSingle-Shot913
Tox grenadesSingle Thrown
Toxbomb launcherSingle-Shot00
Toxic needle gunSingle-Shot2535
Triple rocket launcherSingle-Use5010
Ultra Weapons
Uranium slug cannonSingle-Shot5582
WarhammerMelee
WoodMelee
ZeushammerMelee




 Work To Make
Adrenal heart13,200
... further results


format = ul

Armor Table

Armor - Insulation -
Name Sharp Blunt Heat Heat Cold Coverage Occupies Skin Occupies Middle Occupies Shell Occupies Head Value Silver
Cataphract armor Cataphract armor 120 50 60 12 36 Torso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg Ex.png Check.png Ex.png Ex.png 3,120

Focus types lore

   Dignified: This can be used by psycasters with Empire royal titles. They meditate on meditation thrones, and gain more focus for more grand and dignified thronerooms. This is part of a shift in emphasis for the Empire, somewhat away from the pampered noble image, and more towards the quasi-religious psychic order aspect that they’ve always had. You’ll note that this kind of meditation is a direct replacement for the old ’authority’ need that your titled pawns would have. Now, instead of sitting on the throne to boost their own ego, they do it to meditate and regain psyfocus. The throneroom is a social gathering place, but it is also a meditation temple expressing deep traditions of an honor-bound culture.
   Natural: This focus type is used by those with tribal childhood backstories - whether you started as a tribal faction, or simply recruited someone with a tribal backstory. Natural meditation foci all need to be in nature - they lose their power if there are artifical structures too close by. The concept here is that they want to go away from people and do a psychic practice by communing with the stillness and eternity of the natural world.
   The most important meditation focus for the natural focus is the anima tree. One of these unique trees spawns on every map with a biome where it’s at all feasible. The tree glows with bioluminescent micro-organisms and has a connection with the surrounding psychic field. Anima trees are powerful foci for building up psyfocus, but also serve another purpose - they can actually upgrade your psycasters. When meditated to, the anima tree slowly develops anima grass around its base. Once enough is grown, you can send someone to link with the tree through a tribal ritual and gain a new level of psylink. This gives a reason to have lots of people meditate to the tree sometimes - possibly even the whole tribe - to grow the grass faster. Anima trees are not vulnerable to toxic fallout and animal will respect them and not eat them (except the jerk alphabeavers). If it’s destroyed, a new one will spawn some time later.
   Besides anima trees, you can also build nature shrines or acquire ancient animus stones and place them in nature to meditate to them. These won’t give new psylink levels like the tree, but it can be useful if you’re on an ice sheet and there is no tree, or you feel you want a meditation focus in a specific spot (though they still lose power if too close to artificial buildings). Raiders won’t see or attack the hidden nature shrines and animus stone.
   Morbid: This focus type is used by those with certain traits like psychopath, cannibal, or blood list. They draw psyfocus by meditating on death. To that end, graves and sarcophagi are a meditation focus for them. This kind of meditation is more powerful with a corpse inside the grave, and even more powerful if the corpse is related to the meditator.
   Minimal: This focus type is used by ascetics. They want the absolute minimum, so they meditate to blank walls. It’s a powerful type of meditation, but only ascetics can use it, and they can’t use some other types.
   Artistic: This type of meditation is usable by most people. The psycaster will meditate to art. Higher-quality art builds psyfocus faster. This kind of focus object is very accessible, but not quite as powerful as other methods.
   The above all means that the Empire no longer needs to have laws against psychic powers - so they don’t. If you want to be tribal psychics drawing power from the anima tree, while being friendly with the Empire, you can. The Empire also no longer tries to prevent anyone from using bladelink weapons (renamed to persona weapons), again, simply because it wasn’t worth restricting players this way. Such weapons are still very hard to get, so if you get one, use it.


Marine armor test

VS SHARP ONLY, too wordy to put in as is.

Compared a flak vest and duster, the marine armor offers strictly superior protection to the arms and legs when all items are the same quality, regardless of duster material. The interactions of two layers are dictated by the games Armor Rating calculations, and the result is that marine armor provides torso, neck and shoulders protection dependent on the quality and materials of the items compared.

  • All items of Awful Quality: Marine armor is comparable or superior to a devilstrand duster and flak vest for all weapons, and significantly inferior to both hyperweave and thrumbofur duster and flak pairings for all but the highest AP weapons in the game.
  • All items of Poor Quality: Marine armor is comparable to a devilstrand duster and flak vest and significantly inferior to both hyperweave and thrumbofur duster and flak pairings for all but the highest AP weapons in the game.
  • All items of Normal Quality: Marine armor is superior to a devilstrand duster and flak vest and significantly inferior to both hyperweave and thrumbofur duster and flak pairings for all weapons in the game.
  • All items of Good Quality: Marine armor is superior to a devilstrand duster and flak vest and comparable to both hyperweave and thrumbofur duster and flak pairings for all weapons in the game.
  • All items of Excellent Quality: Marine armor is significant superior to a devilstrand duster and flak vest and superior to both hyperweave and thrumbofur duster and flak pairings for all weapons in the game.
  • All items of Masterwork or Legendary Quality: Marine armor is significant superior to a devilstrand, hyperweave and thrumbofur duster and flak pairings for all weapons in the game.