From ecc2bfea7c05281bf40a6a08e353e5918d375f35 Mon Sep 17 00:00:00 2001
From: gumi <mekolat@users.noreply.github.com>
Date: Sat, 3 Dec 2016 12:47:55 -0500
Subject: put the game rules in a function, make notes call that function, add
 `@rules` command

add `The Book of Laws`, give it whenever the player does not have it
---
 db/re/item_db.conf | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'db')

diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index a040fe03..9c535e6d 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -1225,6 +1225,20 @@ item_db: (
         doevent "#001-2-5-Book1::OnUse";
     ">
 },
+{
+    Id: 537
+    AegisName: "BookOfLaws"
+    Name: "The Book of Laws"
+    Type: "IT_USABLE"
+    Buy: 0
+    Sell: 0
+    Weight: 10
+    KeepAfterUse: true
+    Refine: false
+    Script: <"
+        doevent "@rules::OnUseBook";
+    ">
+},
 {
     Id: 700
     AegisName: "SmallTentacles"
-- 
cgit v1.2.3-70-g09d2