Template:Sprite/Farmer: Difference between revisions

Jump to navigation Jump to search
m (Corrected ratio)
(Updated template to use a different file that had been uploaded prior, which is a spritesheet that contains all of the Farmer's sprites, including the scared sprite. The scared sprite has now been turned into an expression within this template, rendering the standalone "Template:Sprite/FarmerScared" useless. That page should be deleted whenever possible, as it's now obsolete.)
Line 3: Line 3:
  |sheetWidth=368
  |sheetWidth=368
  |sheetHeight=45
  |sheetHeight=45
  |noOfRows=1
  |noOfRows=0.5
  |noOfColumns=9
  |noOfColumns=4
|offsetX=50
  |row={{#switch: {{{expr|}}}
  |row={{#switch: {{{expr|}}}
   | hit = 1
   | hit = 1
   | barely = 1
   | barely = 2.05
   | miss = 1
   | miss = 2.05
  | scared = 3.05
   | {{{row|1}}}
   | {{{row|1}}}
  }}
  }}
  |col={{#switch: {{{expr|}}}
  |col={{#switch: {{{expr|}}}
   | hit = 3.25
   | hit = 2.9
   | barely = 5.5
   | barely = 1.95
   | miss = 6.45
   | miss = 2.9
   | {{{col|1}}}
  | scared = 1.95
   | {{{col|1.9}}}
  }}
  }}
  |image=File:FarmerSpriteS.png
  |image=File:Farmer.png.png
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 01:06, 15 June 2023