diff --git a/deploy.py b/deploy.py index b2112d3..9593d3c 100644 --- a/deploy.py +++ b/deploy.py @@ -236,7 +236,8 @@ def build_xml_code(data, config): # render the template output_file.write(template1.render(tapes=data, config=config, condition_delta=condition_delta, - affliction_delta=affliction_delta)) + affliction_delta=affliction_delta, + song_lengths=song_lengths)) with open(f"./build/{config['slug']}_style.xml", "w+", encoding="utf8") as output_file: # render the template diff --git a/source/images/blank.png b/source/images/blank.png new file mode 100644 index 0000000..a461a1a Binary files /dev/null and b/source/images/blank.png differ diff --git a/source/images/blank_icon.png b/source/images/blank_icon.png new file mode 100644 index 0000000..195ae61 Binary files /dev/null and b/source/images/blank_icon.png differ diff --git a/source/original_audio/blank.ogg b/source/original_audio/blank.ogg new file mode 100644 index 0000000..718e864 Binary files /dev/null and b/source/original_audio/blank.ogg differ diff --git a/source/sunken_tapes_template.xml b/source/sunken_tapes_template.xml index 5820033..3659851 100644 --- a/source/sunken_tapes_template.xml +++ b/source/sunken_tapes_template.xml @@ -11,6 +11,18 @@ + + + + + + + + + + + + @@ -55,6 +67,16 @@ + + + + + + + + + + @@ -98,6 +120,15 @@ {% for location in ["outpost", "city", "research", "military", "mine"] %} {% endfor %} + + + + + + + + + diff --git a/source/tapes.yaml b/source/tapes.yaml index 5abed39..c0237b1 100644 --- a/source/tapes.yaml +++ b/source/tapes.yaml @@ -1,3 +1,17 @@ +- identifier: blank + name: Blank Tape + source: ./source/original_audio/blank.ogg + note: "" + spawn: + - location: abandonedcrewcab + probability: 0.05 + price: 100 + multipliers: [1, 1, 1, 1, 1] # outpost, city, research, military, mine + sold: [false, true, false, false, false] # outpost, city, research, military, mine + no_of_uses: 12 + buffs: False + buff_multiplier: 0.5 + - identifier: dmx name: DMX - X Gon Give It To Ya source: