| A | B | |
|---|---|---|
1 | gfxoffsetx, gfxoffsety | Sprite offset from hitbox |
2 | width, height | Dimensions of the hitbox. Bound bottom-center to the sprite |
3 | gfxwidth, gfxheight | Dimensions of the sprite |
4 | speed | Speed of the NPC. Only ever affects horizontal speed |
5 | npcblock | Does this NPC block other NPCs’ movement? |
6 | npcblocktop | Do thrown NPCs bounce off this NPC or hurt it? |
7 | jumphurt | Does jumping on this NPC hurt the player? |
8 | noblockcollision | If true, the NPC does not collide with blocks unless thrown |
9 | score | Points awarded. 0 = 0, 1 = 10, 2 = 100... |
10 | playerblocktop | Can players and NPCs stand on the NPC? |
11 | grabtop | Can the NPC be grabbed from above? |
12 | cliffturn | Does the NPC turn on cliffs? |
13 | nohurt | If true, the NPC’s hitbox won’t harm the player |
14 | playerblock | Does the NPC block players? |
15 | grabside | Can you run into the NPC to grab it from the side? |
16 | noyoshi | If true, the NPC cannot be vored by Yoshi |
17 | foreground | Changes render priority from -45 to -15 if true |
18 | nofireball | Do fireballs harm the NPC? |
19 | noiceball | Can the NPC be frozen by an ice ball? |
20 | nogravity | Is the NPC affected by gravity? |
21 | frames | Total number of frames. Some new NPCs use this field rather liberally for added comfort |
22 | framespeed | Animation speed. Defaults to 8 |
23 | framestyle | 0 = single-direction, 1 = left/right, 2 = whatever shy guys are doing |
24 | vulnerableharmtypes | A table of harm type enums (e.g. {HARM_TYPE_JUMP, HARM_TYPE_SPINJUMP}). For 1.3-NPCs, the specified harmtypes are added. For new NPCs, this replaces the existing harm types. Can only be set through lua. |
25 | spinjumpsafe | Can you spinjump on the NPC? |
26 | nowaterphysics | Does the NPC react to water? |
27 | harmlessgrab | Will the NPC kill others while held? |
28 | harmlessthrown | Will the NPC kill others when thrown? |
29 | ignorethrownnpcs | If true, thrown NPCs will pass through this NPC. |
30 | linkshieldable | If true, this NPC will be destroyed when it comes in contact with Link's shield. |
31 | noshieldfireeffect | Disables fire effect when the NPC dies to Link's shield. |
32 | notcointransformable | If true, the NPC will not turn into coins when the level is completed. |
33 | isheavy | A number that corresponds to the NPC's weight if greater than zero. Heavy NPCs can press small colour switches and exert pressure on donut blocks, among other interactions. |
34 | ishot | If true, this NPC can melt frozen turn blocks. |
35 | iscold | If true, this NPC can extinguish hot turn blocks. |
36 | durability | Number of hits the NPC can survive against elemental blocks. -1 = infinite. |
37 | nogliding | Causes the NPC to be ignored by the gliding block (1f0) |
38 | ||
39 | Category-related: | |
40 | iscustomswitch | Used by switch NPCs to define the NPC_SWITCH list in lua. No inherent behaviour. |
41 | powerup | Used by powerups to define the NPC_POWERUP list in lua. No inherent behaviour. |
42 | ||
43 | Identity related: | |
44 | iswalker | Is the NPC a walker? (Spiny, Goomba, Koopa, any npc that only walks forward) |
45 | isbot | Is the NPC a Zelda 2 Bot? (Slime) |
46 | isvegetable | Is the NPC a vegetable? |
47 | isshoe | Is the NPC a boot? |
48 | isyoshi | Is the NPC a Yoshi? |
49 | isinteractable | Can you collect this NPC? |
50 | iscoin | Is this NPC a coin? |
51 | isvine | Is this NPC a vine? |
52 | iscollectablegoal | Is this NPC a collectable goal? |
53 | isflying | Does this NPC use paratroopa AI? |
54 | iswaternpc | Does this NPC use cheep-cheep AI? |
55 | isshell | Is this NPC a shell? |
56 | ||
57 | Darkness-related: | |
58 | lightradius | Radius of light |
59 | lightbrightness | Brightness of light |
60 | lightoffsetx, lightoffsety | Light offset relative to center of the sprite |
61 | lightcolor | Color constant or hex color specifying the light’s colour |
62 | lightflicker | Should the light flicker? |
63 | ||
64 | Global, but different per NPC: | |
65 | health | Sets the health of the NPC. By default only supported by boss NPCs (Boom Boom, Birdo, Big Boo, SMB3 Bowser, SMB1 Bowser, Wart, Mother Brain, Mouser, Larry, Ludwig, Fry Guy), but can be used by your own NPCs for the purposes of handling customizable HP. Extended per-npc uses are specified in the section about the specific NPC type on the NPC-specific spreadsheets below. |
66 | ||
67 | Only apply in the editor: | |
68 | grid | Defines the grid snap offset. Often set to 16 or 32 for half- and full-block offsets. |
69 | gridoffsetx, gridoffsety | Defines the offset from the grid align. |
70 | gridalign | Defines align mode: 0 - at center of the global cell, 1 - at edge of the global cell. |
71 | image | Set to the path of an image file to change the NPC's appearance in the editor. |
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 |