Changes

Jump to: navigation, search

Module:Tag Force present responses

95 bytes added, 29 days ago
fix grammar if gender is unspecified
self.name = args['character_name'] or mw.text.split(self.pageName, ' %(')[1]
self.game = args['game']
self.gender = args['gender']and args['gender']:lower()
self.responses = {}
local intro = '<p>In <i>[[' .. self.game .. ']]</i>, ' .. (self.name) .. ' has the following responses when the player gives ' .. (self:getObjectivePronoun()) .. ' a present.</p>'
intro = intro .. '<p>The "Trust" column shows how much of a heart the present will increase in the level of trust. '
intro = intro .. 'The "Card", "Dueling", and "Them" columns show the effect it has on ow how many more times ' .. (self:getPronoun()) intro = intro .. (self:getPronoun() == 'they' and ' are' or ' is will ') ..' willing to talk about that topic (maximum 5).</p>'
local chart = mw.html.create('table'):attr('class', 'wikitable')

Navigation menu