{% extends "scon/base.html" %} {% block css %} {{ block.super }} {% endblock css %} {% block context %}

Forum

{% for ore in ores %} {% endfor %} {% for item in items %} {% if item.primary_recipee %} {% with item.primary_recipee as recipee %} {% endwith %} {% else %} {% endif %} {% endfor %}
What ya wanna What ya needze
{{ ore.name }} N/A{% if ore.typ == 13 %} (This is a component you cannot craft){% endif %}
{{ recipee.output.name }}
    {% for ingredient in recipee.ingredients %}
  • {% if ingredient.item != item %} {{ ingredient.amount }} x {{ ingredient.item.name }} {% else %} {% if ingredient.amount > 1 %} {{ ingredient.amount }} x {{ ingredient.item.name }} {% else %} {{ ingredient.amount }} x {{ ingredient.item.name }} {% endif %} {% endif %}
  • {% endfor %}
[table] [tr][th][b][font=arial, sans-serif][size=12]Crafting Result [/size][/font][/b] [b][font=arial, sans-serif][size=12](the components you want)[/size][/font][/b][/th][th][b][font=arial, sans-serif][size=12]Prerequisite Materials [/size][/font][/b] [b][font=arial, sans-serif][size=12](what you need to get the result)[/size][/font][/b][/th][/tr] {% for ore in ores %} [tr] [td][color=#595959]{{ ore.name }}[/color][/td] [td]N/A{% if ore.typ == 13 %} (This is a component you cannot craft){% endif %}[/td] [/tr] {% endfor %} {% for item in items %} {% if item.primary_recipee %} [tr] {% with item.primary_recipee as recipee %} [td] {% with recipee.output.parents|length as depth %} [color={% if depth == 0 %}#595959{% elif depth == 1 %}#00b050{% elif depth == 2 %}#1f497d{% else %}#7030a0{% endif %}]{{ recipee.output.name }}[/color] {% endwith %} [/td] [td] [LIST] {% for ingredient in recipee.ingredients %} [*]{% with ingredient.item.parents|length as depth %} [font=arial, sans-serif][size=12] {% if ingredient.item != item %} {{ ingredient.amount }} x [color={% if depth == 0 %}#595959{% elif depth == 1 %}#00b050{% elif depth == 2 %}#1f497d{% else %}#7030a0{% endif %}]{{ ingredient.item.name }}[/color] {% else %} {% if ingredient.amount > 1 %} [b][i]{{ ingredient.amount }}[/i] x [color={% if depth == 0 %}#595959{% elif depth == 1 %}#00b050{% elif depth == 2 %}#1f497d{% else %}#7030a0{% endif %}]{{ ingredient.item.name }}[/color][/b] {% else %} [b]{{ ingredient.amount }} x [color={% if depth == 0 %}#595959{% elif depth == 1 %}#00b050{% elif depth == 2 %}#1f497d{% else %}#7030a0{% endif %}]{{ ingredient.item.name }}[/color][/b] {% endif %} {% endif %} {% endwith %}[/size][/font][/*] {% endfor %} [/LIST] [/td] {% endwith %} [/tr] {% endif %} {% endfor %} [/table] {% endblock context %}