mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
It's currently a copy of the Mason ruleset. Where Mason focuses on letting the users create the world themselves, Deeds instead focuses on allowing world authors to set up enticing worlds with gameplay and stories. In contrast to Mason there are more features available to the world authors which allow for automatic creation of entities and so on.
13 lines
506 B
Python
13 lines
506 B
Python
#This file is distributed under the terms of the GNU General Public license.
|
|
#Copyright (C) 1999 Aloril (See the file COPYING for details).
|
|
#return Operation("create",Entity(name='wood',type=['lumber'],location=self.location.parent.location.copy()),to=self)
|
|
|
|
from atlas import *
|
|
|
|
import server
|
|
|
|
class Sword(server.Thing):
|
|
"""This is base class for swords, this one just ordinary sword"""
|
|
def cut_operation(self, op):
|
|
to_ = op[1].id
|
|
return Operation("touch",op[1],to=to_,from_=self)
|