Editing Module:Spawn table

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits. If you have an existing account on the Fandom wiki, you can migrate your account.
require('strict')
local p = {}
local pageTitle = mw.title.getCurrentTitle()
local pageTitleString = pageTitle.fullText
local namespace = pageTitle.nsText
local function tooltip(text, title)
return tostring(mw.html.create('span')
:addClass('explain')
:attr('title', title)
:wikitext(text)
:allDone())
end
local i18n = {
processArgsModule = 'Module:ProcessArgs',
mobColumn = 'Mob',
chanceColumn = tooltip('Spawn weight', 'Weight relative to other spawn entries in the category'),
groupSizeColumn = tooltip('Group size', 'Number of mobs the game tries to spawn per attempt'),
chargeColumn = tooltip('Charge', 'Charge generated by the mob'),
budgetColumn = tooltip('Budget', 'Maximum charge potential allowing spawning'),
spawnCostNote = 'When spawning a mob with a budget, take the sum of the charge of each existing mob divided by the distance to that mob. If the total times the new mob\'s charge is greater than the new mob\'s budget, the spawn fails. See [[Mob spawning#Spawn costs|Mob spawning § Spawn costs]] for details.',
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0

Please note that all contributions to Minecraft Wiki are considered to be released under the CC BY-NC-SA 3.0 license, except for pages imported from wiki.vg or pages derived from such pages, which are considered to be released under the CC BY-SA 3.0 license. See Minecraft Wiki:Copyrights for details. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

You may also post content obtained from Mojang, its websites, manuals and guides, concept art and renderings, press and fansite kits, and other such copyrighted material that Mojang has made available to the general public, to the Minecraft Wiki. All rights, title and interest in and to such content shall remain with Mojang, as applicable, and such content is not licensed pursuant to the Terms of Use.

Cancel Editing help (opens in new window)
Preview page with this template
Please note:
  • If you do not want your writing to be edited or redistributed by others, please do not submit it.
  • Please leave a brief edit summary describing your changes to make it easier for other editors to understand them.
  • Please use the show preview/changes buttons to verify your changes before saving them to avoid introducing errors.
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.