Toggle menu
1.3K
1.7K
703
23.9K
Veloren Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Horblegorble/Sandbox/Template/Infobox npc: Difference between revisions

From Veloren Wiki
Content added Content deleted
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 20: Line 20:
}}
}}
</th>
</th>
</tr>
<tr>
<th colspan="3" class="infobox-title" style="font-size: 100%;">Details</th>
</tr>
</tr>
{{#if: {{{type|}}}
{{#if: {{{type|}}}
Line 54: Line 51:
|
|
}}
}}
{{#ifexpr: {{IsNotEmpty| {{{hostile}}} }} and {{IsNotEmpty| {{{tamable}}} }}
{{#ifexpr: {{IsNotEmpty| {{{hostile|}}} }} and {{IsNotEmpty| {{{tamable|}}} }}
| {{IfFalse| {{{hostile}}}
| {{#ifeq: {{Bool| {{{hostile}}} }} | 0
| <tr colspan="3">
| <tr colspan="3">
<td class="infobox-texttitle" style="padding-right:10px;">[[Taming|Tamable]]</td>
<td class="infobox-texttitle" style="padding-right:10px;">[[Taming|Tamable]]</td>
<td colspan="2" class="infobox-text">{{IfTrue| {{{tamable}}} | Yes | No }}</td>
<td colspan="2" class="infobox-text">{{IfTrue| {{{tamable}}} | Yes | No }}</td>
</tr>
</tr>
{{IfTrue| {{{tamable}}}
{{#ifeq: {{Bool| {{{tamable}}} }} | 1
| {{#if: {{{mountspeed|}}}
| {{#if: {{{mountspeed|}}}
| <tr colspan="3">
| <tr colspan="3">
Line 83: Line 80:
|
|
}}
}}
{{#ifexpr: {{IsNotEmpty| {{{path|}}} }} or {{IsNotEmpty| {{{voxel|}}} }}
<tr>
| <tr>
<th colspan="3" class="infobox-title" style="font-size: 100%;"><!--
<th colspan="3" class="infobox-title" style="font-size: 100%;"><!--
-->Technical Information
</th>
-->Technical Info
</tr>
</th>
</tr>
|
}}
{{#if: {{{path|}}}
{{#if: {{{path|}}}
| <tr colspan="3">
| <tr colspan="3">
Line 113: Line 113:
|name=Cave Troll
|name=Cave Troll
|linking=0
|linking=0
|link=[[Mountain Troll]]
|type=Wildlife
|type=Wildlife
|location=World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more
|location=World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more
Line 119: Line 120:
|tamable=1
|tamable=1
|mountspeed=10
|mountspeed=10
|path=common.entity.wild.aggressive.troll_cave
|path=common.entity.wild.aggressive.cave_troll
|voxel=npc/troll_cave
}}
}}



Latest revision as of 08:15, 6 January 2024

Cave Troll
Type Wildlife
Location World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more
HP 1,000
Hostile No
Tamable Yes
Mountable Yes
Speed 10
Technical Info
Config common.entity.wild.aggressive.cave_troll

Example


Cookies help us deliver our services. By using our services, you agree to our use of cookies.