[nyctos] r209 committed - Nyctos Halls of Darkness - now with more Shoggoth!

0 views
Skip to first unread message

nyc...@googlecode.com

unread,
Mar 10, 2012, 1:35:51 PM3/10/12
to nycto...@googlegroups.com
Revision: 209
Author: GreenbergJH
Date: Sat Mar 10 10:35:32 2012
Log: Nyctos Halls of Darkness - now with more Shoggoth!
http://code.google.com/p/nyctos/source/detail?r=209

Added:
/trunk/src/data.res/scripts/monsters/shoggoth.py
Modified:
/trunk/src/data.res/scripts/rooms/cavedinsite.py

=======================================
--- /dev/null
+++ /trunk/src/data.res/scripts/monsters/shoggoth.py Sat Mar 10 10:35:32
2012
@@ -0,0 +1,41 @@
+import parole
+from parole.colornames import colors
+from parole.display import interpolateRGB
+import pygame, random
+
+import sim_creatures
+from util import *
+
+description = \
+"""
+A hateful, pallid mist curls forward before you, and a putrid slime coats
the ground you stand on. Words could never even suggest the awfulness
+of the sight. The utter embodiment of the "thing that should not be." A
nightmare, plastic column of fetid black iridescence;
+a rethickening cloud of pallid abyss vapor. A shapeless congeries of
protoplasmic bubbles, faintly self-luminous, and with
+myriads of temporary eyes forming and un-forming as pustules of greenish
light. It's eldritch mocking cry engulfs you - "Tekeli-li!"
+"""
+
+class MonsterClass(sim_creatures.Monster):
+ def __init__(self):
+ sim_creatures.Monster.__init__(
+ self,
+ 'shoggoth', # name
+ parole.map.AsciiTile('O', colors['Black']), # symbol, color
+ 26, # str
+ 12, # dex
+ 40, # con
+ 3, # per
+ 12, # spd
+ 4, # level
+ 200, # xp value
+ False, # name starts with vowel? i.e., use "an" instead of "a"
+ [], # equipment slots
+ 'engulf', # unarmed attack verb
+ 'dissolve', # death verb
+ False, # leaves corpse?
+ 1000, # unarmed attack energy
+ description,
+ lightTolerance=1.5
+ )
+
+#========================================
+thingClass = MonsterClass
=======================================
--- /trunk/src/data.res/scripts/rooms/cavedinsite.py Fri Mar 20 12:23:45
2009
+++ /trunk/src/data.res/scripts/rooms/cavedinsite.py Sat Mar 10 10:35:32
2012
@@ -17,7 +17,7 @@
### . % ####
##.... % . . ###
#...... ##
-#> % % %# . % #
+#> O % %# . % #
#........... &
#...... . #
#.... #
@@ -33,6 +33,8 @@
legend = {
'#': dungeon.rockGenerator(colors['Gray']),

+ 'O': dungeon.thingGenerator('monsters', 'shoggoth'),
+
'&': parole.map.MapObjectGenerator("",
lambda: sim.Obj('mining equipment', 10,
parole.map.AsciiTile('&',
colors['Black']),
@@ -49,7 +51,7 @@
blockMove=True, blockLOS=True), clearFirst=False),

'.': parole.map.MapObjectGenerator("",
- lambda: sim.Obj('blasted rubble', 100,
parole.map.AsciiTile(' ',
+ lambda: sim.Obj('blasted rubble', 100,
parole.map.AsciiTile('x',
colors['DarkGray'], bg_rgb=colors['DarkGray']),
blockMove=True, massNoun=True), clearFirst=False),

Reply all
Reply to author
Forward
0 new messages