aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9196a1e..b2e80a7 100644
--- a/init.lua
+++ b/init.lua
@@ -573,7 +573,9 @@ apartment.rent = function( pos, pname, oldmetadata, actor )
elseif( n.name == "bitchange:warehouse" ) then
itext = "Warehouse ("..rented_by..")";
elseif (n.name == "smartshop:shop") then
- itext = "Shop by " .. rented_by
+ itext = "Shop " .. rented_by
+ m:set_int("creative", 0)
+ m:set_int("type",1)
elseif( n.name == "bitchange:shop" ) then
if( m:get_string('title') and m:get_string('title') ~= '' ) then
itext = "Exchange shop \""..( m:get_string('title')).."\" ("..rented_by..")";