From 654c2c42c22830305275b70a28abdd628680abb4 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Tue, 15 Apr 2014 09:35:12 +0200 Subject: first awards --- streetsawards/depends.txt | 2 ++ streetsawards/init.lua | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 streetsawards/depends.txt create mode 100644 streetsawards/init.lua (limited to 'streetsawards') diff --git a/streetsawards/depends.txt b/streetsawards/depends.txt new file mode 100644 index 0000000..42d368b --- /dev/null +++ b/streetsawards/depends.txt @@ -0,0 +1,2 @@ +streetsmod +awards? \ No newline at end of file diff --git a/streetsawards/init.lua b/streetsawards/init.lua new file mode 100644 index 0000000..fedc768 --- /dev/null +++ b/streetsawards/init.lua @@ -0,0 +1,22 @@ +if streets.extendedBy.awards == true then + awards.register_achievement("award_countryroads",{ + title = "Roadbuilder", + description = "You built some quite big roads!", + icon = "novicebuilder.png", + trigger = { + type = "place", + node = "streets:asphalt", + target = 175, + }, + }) + awards.register_achievement("award_underworld",{ + title = "Start your sewers!", + description = "You placed your first manhole! Did you know that you can open it with a right-click?", + icon = "novicebuilder.png", + trigger = { + type = "place", + node = "streets:manhole_adv_closed", + target = 1, + }, + }) +end \ No newline at end of file -- cgit v1.2.3