Spawn Mechanics

From Content Warning Wiki
Jump to navigation Jump to search

TODO

• Rarities •

TODO

Item Rarities

Item Rarity
Ribcage 2
Skull 2
Spine 2
Bone 2
Brain on a Stick 0.05
Radio 0.05
Shroom 0.05
Animal Statues 0.01
Radioactive Container 0.01
Old Painting 0.007
Chorby 0.005

Monster Rarities

Enemy Rarity
Slurper 2.25
Zombe 2
Worm 0.5
Mouthe 0.4
Flicker 0.1
Cam Creep 0.05
Infiltrator 0.05
Button Robot 1
Puffo 1
Black Hole Bot 0.05
Snatcho 0.3
Whisk 1
Spider 0.5
Ear 0.05
Jelly 0.3
Weeping 0.3
Bomber 1
Dog 1
Eye Guy 1
Fire 1
Knifo 1
Larva 1
Arms 1
Harpooner 0.75
Mime 0.3
BarnacleBall 0.5
SnailSpawner 0.1
Ultra Knifo 0.05
Big Slap 0.3
Streamer 0.5

• Budget •

  • Artifact budget and highest rarity for day is gotten and passed to the method that gets what artifacts to spawn
  • The method that gets what artifacts to spawn is ran until the day's budget is less than 0, for a maximum of 1000 times. Then the following happens every time the method is ran:
  • All artifacts get their "weight" value set, being its budget cost divided by the day's budget times its rarity ((budgetCost / dayBudget) * rarity)) and if their rarity is bigger than the `rarestPurchase` and their budget cost is less than the days' budget, it is added to a list
  • A random number between 0 and the total weight of all artifacts on the list is generated, then an artifact from the aforementioned list is picked based on that value. An artifact is picked when the random number generated is less than 0, decreasing from the given list artifact's weight. Regular weighted selection stuff is not exact implementation but close enough
  • The day's budget is decreased from the chosen artifact's budget cost

Artifact Daily Budgets

  • Days 1 ~ 6: 10
  • Days 7 ~ 15: 11
  • Days 16 ~ 26: 12
  • Days 27 ~ 35: 13
  • Days 36 ~ 46: 14
  • Days 47 ~ ∞: 15

Item Budget Costs

Item Budget
Old Painting 3
Animal Statues 3
Brain on a Stick 2
Radio 2
Radioactive Container 2
Ribcage 1
Skull 1
Spine 1
Bone 1
Shroom 1
Chorby 1

Monster Budget Costs

Enemy Budget
Slurper 1
Zombe 1
Worm 1
Mouthe 1
Flicker 1
Cam Creep 1
Infiltrator 1
Button Robot 2
Puffo 2
Black Hole Bot 2
Snatcho 3
Whisk 4
Spider 4
Ear 4
Jelly 5
Weeping 5
Bomber 6
Dog 6
Eye Guy 6
Fire 6
Knifo 6
Larva 6
Arms 6
Harpooner 8
Mime 8
BarnacleBall 10
SnailSpawner 10
Big Slap 15
Streamer 15
Ultra Knifo 28

• PuppetMonster •

Puppetmonster is an in-game system in Content Warning that teleports monsters to players.
After starting a dive there is a 2 minute grace period, after which the PuppetMonster system will teleport the furthest away monster on the Old World to a hidden patrol point closest to a random player in the lobby.
Once the initial teleport has been done, every 1 minute and 40 seconds will have PuppetMonster teleport a monster again.

A patrol point is "hidden" if no player is looking at it. Given that you are not looking at one and are close to a patrol point, there is a chance a monster might spawn right beside you.

• Trivia •

  • Ultra Knifo technically has a cost of only 10 and a rarity of 0.1, however it cannot spawn without its squad of other Knifos, which brings the rarity down and the cost up.