Material Template (Asset): Difference between revisions

From FetishQuest Wiki
Jump to navigation Jump to search
JasX (talk | contribs)
Created page with "Physical materials that can be applied to different types of equipment. These are always tied to an Asset Template. {| class="wikitable" |+ !Field !Type !Default !Description |- | | | | |- | | | | |- | | | | |} '''export''' '''function''' help(){     let out = <nowiki>''</nowiki>;     out += '<nowiki><h3>Material Template:</h3></nowiki>'+         '<nowiki><p></p></nowiki>';     out += '<nowiki><h3>Fields</h3></nowiki>';     o..."
(No difference)

Revision as of 20:35, 19 February 2025

Physical materials that can be applied to different types of equipment. These are always tied to an Asset Template.

Field Type Default Description


export function help(){

    let out = '';

    out += '<h3>Material Template:</h3>'+

        '<p></p>';

    out += '<h3>Fields</h3>';

    out += '<table>';

    out +=

        '<tr>'+

            '<td>Label</td>'+

            '<td>A unique label to access the asset by. WARNING: DO NOT CHANGE AFTER SETTING IT, OR RISK BROKEN LINKS!</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Name</td>'+

            '<td>Name of the material. Will be prepended to the asset name.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Base color name</td>'+

            '<td>Name the color of the item.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Base color</td>'+

            '<td>Select a the color.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Tintable</td>'+

            '<td>Check if the material can be dyed at a blacksmith.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Weight</td>'+

            '<td>Assume the material was attached to an item the size of a shirt. How much would it weigh in grams? For metal I suggest 5000-7000.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Level</td>'+

            '<td>Minimum player level for this material to show up in world.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Stat bonus</td>'+

            '<td>Can be used to add bonus enchants. Leave at 0 for most materials.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Hit sound</td>'+

            '<td>Leave empty. This is auto generated.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>SV/BON</td>'+

            '<td>Avoidance/Proficiency adjust. I suggest keeping it small, and using negatives. Such as Steel granting 3 sv physical but -2 sv arcane.</td>'+

        '</tr>'+

        '<tr>'+

            '<td>Tags</td>'+

            '<td>Add material tags starting with "as_", such as as_steel, as_metal, as_hard etc.</td>'+

        '</tr>'

    ;

       

    out += '</table>';

    return out;

};