drpedia_lite 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51e7158346deab187496ef69e2b3dc15f4548052
4
- data.tar.gz: cdd12a2d3acdd4f10c6c11cec175dc0b2d18b6fb
3
+ metadata.gz: 757fcff45e291f7385507b8dd2386ef06997478f
4
+ data.tar.gz: e3992d4c346db722ca46587d6acb2450b2603690
5
5
  SHA512:
6
- metadata.gz: e675a87c44df5136e5ffa056790277667f6044788a84450d2cfb0f8b5238f555d10fa945dd15cdd35d81f361d1ad4d54fe6975e6261e69812e51a4ae22e4bdb4
7
- data.tar.gz: 20a0b45ec287010fb26153462e3920073eb28c138ce72e88caa848ffed5b0fed5e77484b10f8f8ca939e608dc82bec46843550636a99c26b57f57be4ddee154a
6
+ metadata.gz: 1fa6e4a81bfc515128da8e258bb8a04fc62b289615e57d9087464807f1eee474af829a1e3548ff47c1afa4e678f8a86a78ff80b84933859d9b78e5da44087904
7
+ data.tar.gz: 17b0f00c15f8ddb04a36195ddf61e01b9abbe61af7e39db82e6f7af0f8ef8620664bce9904662a4502de457ed026623168bffa13c2b402605c430ffc6b186885
data/lib/RawReader.rb CHANGED
@@ -280,10 +280,11 @@ private
280
280
  profession = profession_skills[:profession]
281
281
  cost = profession_skills[:cost]
282
282
  preq = profession_skills[:preq]
283
- professions.add profession
283
+
284
284
 
285
285
  case type
286
286
  when :basic
287
+ professions.add profession
287
288
  @skill_cat[skill] ||= Hash.new
288
289
  @skill_cat[skill][profession] = {
289
290
  cost: cost,
data/lib/Validator.rb CHANGED
@@ -131,7 +131,7 @@ private
131
131
  end
132
132
 
133
133
  def is_in_profession? _x
134
- if !@professions.include?(_x)
134
+ if !@professions.include?(_x) && !@profession_advanced.keys.include?(_x)
135
135
  puts "mismatched profession: #{_x}"
136
136
  return false
137
137
  end
data/lib/input/input.txt CHANGED
@@ -47,151 +47,151 @@ Crafting and Production: Cook, Distiller, Engineer, Mad Scientist, Printer, Scav
47
47
  == Advanced Profession ==
48
48
  Apocatastian Templar:
49
49
  (and ((xp_sum 100)
50
- (stat_sum hp_or_mp 50)
51
- (p Priest)
52
- (p (Guard Officer))))
50
+ (stat_sum hp_or_mp 50)
51
+ (p Priest)
52
+ (p (Guard Officer))))
53
53
 
54
54
  Avontuur:
55
55
  (and ((xp_sum 100)
56
- (stat_sum hp_or_mp 50)
57
- (p (Gambler Scavenger Teacher Jones))))
56
+ (stat_sum hp_or_mp 50)
57
+ (p (Gambler Scavenger Teacher Jones))))
58
58
 
59
59
  Bone Breaker:
60
60
  (and ((xp_sum 100)
61
- (stat_sum hp_or_mp 50)
62
- (p (Thug Pugilist))))
61
+ (stat_sum hp_or_mp 50)
62
+ (p (Thug Pugilist))))
63
63
 
64
64
  Entrepreneur:
65
65
  (and ((not (s "The Red Star"))
66
- (xp_sum 100)
67
- (stat_sum hp_or_mp 50)
68
- (p (Caravan Driver "Hook-Up" Merchant Publican))))
66
+ (xp_sum 100)
67
+ (stat_sum hp_or_mp 50)
68
+ (p (Caravan Driver "Hook-Up" Merchant Publican))))
69
69
 
70
70
  Free Radical:
71
71
  (and ((s Retrograde)
72
- (xp_sum 100)
73
- (stat_sum hp_or_mp 50)))
72
+ (xp_sum 100)
73
+ (stat_sum hp_or_mp 50)))
74
74
 
75
75
  G-Man:
76
76
  (and ((or ((s "Pure Blood")
77
- (k "Lore - Strain - Pure Blood")))
78
- (xp_sum 100)
79
- (stat_sum hp_or_mp 50)
80
- (k Literacy)
81
- (k "Lore - Pre-Fall History Modern")
82
- (k (Torture Interrogate))))
77
+ (k "Lore - Strain - Pure Blood")))
78
+ (xp_sum 100)
79
+ (stat_sum hp_or_mp 50)
80
+ (k Literacy)
81
+ (k "Lore - Pre-Fall History Modern")
82
+ (k (Torture Interrogate))))
83
83
 
84
84
  Gear Head:
85
85
  (and ((xp_sum 100)
86
- (stat_sum hp_or_mp 50)
87
- ((or (p (Caravan Driver "Hook-Up" Merchant Engineer "Mad Scientist"))
88
- (s ("Diesel Jock" Rover))))
89
- (k ("Building Tomorrow" Brewing "Forging the Future"))))
86
+ (stat_sum hp_or_mp 50)
87
+ ((or (p (Caravan Driver "Hook-Up" Merchant Engineer "Mad Scientist"))
88
+ (s ("Diesel Jock" Rover))))
89
+ (k ("Building Tomorrow" Brewing "Forging the Future"))))
90
90
 
91
91
  Grave Robber:
92
92
  (and ((xp_sum 100)
93
- (stat_sum hp_or_mp 50)
94
- (p (Doctor Sawbones))
95
- (p (Scavenger Thief Assassin Jones))))
93
+ (stat_sum hp_or_mp 50)
94
+ (p (Doctor Sawbones))
95
+ (p (Scavenger Thief Assassin Jones))))
96
96
 
97
97
  Marksman:
98
98
  (and ((xp_sum 100)
99
- (stat_sum hp_or_mp 50)
100
- (p (Sniper "Gun Slinger"))))
99
+ (stat_sum hp_or_mp 50)
100
+ (p (Sniper "Gun Slinger"))))
101
101
 
102
102
  Mercenary:
103
103
  (and ((xp_sum 100)
104
- (stat_sum hp_or_mp 50)
105
- (p (Soldier Guard Officer Hunter))))
104
+ (stat_sum hp_or_mp 50)
105
+ (p (Soldier Guard Officer Hunter))))
106
106
 
107
- Merican Ba-das:
107
+ Merican Ba-Das:
108
108
  (and ((xp_sum 100)
109
- (stat_sum hp 50)
110
- (s Merican)
111
- (p Priest)
112
- (p (Guard Officer "Gun Slinger" Hunter Primitive Pugilist Soldier Thug))))
109
+ (stat_sum hp 50)
110
+ (s Merican)
111
+ (p Priest)
112
+ (p (Guard Officer "Gun Slinger" Hunter Primitive Pugilist Soldier Thug))))
113
113
 
114
114
  Mind Killer:
115
115
  (and ((xp_sum 200)
116
- (stat_sum hp_or_mp 50)
117
- (k "Mind Resistance")))
116
+ (stat_sum hp_or_mp 50)
117
+ (k "Mind Resistance")))
118
118
 
119
119
  Monk:
120
120
  (and ((xp_sum 100)
121
- (stat_sum hp_or_mp 50)
122
- (p ("Martial Artist" Priest))))
121
+ (stat_sum hp_or_mp 50)
122
+ (p ("Martial Artist" Priest))))
123
123
 
124
124
  Mountebank:
125
125
  (and ((xp_sum 100)
126
- (stat_sum mp 100)
127
- (p (Charlatan Gambler Merchant Politician))))
126
+ (stat_sum mp 100)
127
+ (p (Charlatan Gambler Merchant Politician))))
128
128
 
129
129
  Nephilim:
130
130
  (and ((xp_sum 200)
131
- (stat_sum mp 50)
132
- (s ("Nation of Accensor" Remnant))))
131
+ (stat_sum mp 50)
132
+ (s ("Nation of Accensor" Remnants))))
133
133
 
134
134
  Oni:
135
135
  (and ((xp_sum 100)
136
- (stat_sum hp_or_mp 50)
137
- (s "Red Star")
138
- (p Priest)
139
- (p (Guard Officer "Gun Slinger" Primitive Soldier))))
136
+ (stat_sum hp_or_mp 50)
137
+ (s "Red Star")
138
+ (p Priest)
139
+ (p (Guard Officer "Gun Slinger" Primitive Soldier))))
140
140
 
141
141
  Overlord:
142
142
  (and ((xp_sum 100)
143
- (stat_sum hp_or_mp 50)
144
- (p (Assassin Doctor Gambler "Mad Scientist" "Ring Leader" Engineer))
145
- (p (Charlatan Entertainer Politician Priest Teacher))))
143
+ (stat_sum hp_or_mp 50)
144
+ (p (Assassin Doctor Gambler "Mad Scientist" "Ring Leader" Engineer))
145
+ (p (Charlatan Entertainer Politician Priest Teacher))))
146
146
 
147
147
  Reaper:
148
148
  (and ((xp_sum 100)
149
- (p ("Gun Slinger" Hunter Primitive Soldier))))
149
+ (p ("Gun Slinger" Hunter Primitive Soldier))))
150
150
 
151
151
  Sage:
152
152
  (and ((xp_sum 100)
153
- (stat_sum mp 50)
154
- (p (Jones Printer Teacher))
155
- (lore_type 4)))
153
+ (stat_sum mp 50)
154
+ (p (Jones Printer Teacher))
155
+ (lore_type 4)))
156
156
 
157
157
  Saint:
158
158
  (and ((xp_sum 100)
159
- (or ((p (Cook Doctor Priest Teacher))
160
- (s "Nation of Accensor")))
161
- ((not (s "The Red Star")))))
159
+ (or ((p (Cook Doctor Priest Teacher))
160
+ (s "Nation of Accensor")))
161
+ ((not (s "The Red Star")))))
162
162
 
163
163
  Shadow:
164
164
  (and ((xp_sum 200)
165
- (stat_sum hp_or_mp 50)
166
- (p (Assassin Thief Spy))))
165
+ (stat_sum hp_or_mp 50)
166
+ (p (Assassin Thief Spy))))
167
167
 
168
168
  Shepherd of the Land:
169
169
  (and ((xp_sum 200)
170
- (stat_sum hp_or_mp 100)
171
- (p (Cook Brewer Teacher Entertainer Farmer Fishmonger))))
170
+ (stat_sum hp_or_mp 100)
171
+ (p (Cook Brewer Teacher Entertainer Farmer Fishmonger))))
172
172
 
173
173
  Survivor:
174
174
  (and ((xp_sum 200)
175
- (stat_sum hp_and_mp 100)))
175
+ (stat_sum hp_and_mp 100)))
176
176
 
177
177
  Techno Savant:
178
178
  (and ((xp_sum 100)
179
- (stat_sum hp_or_mp 50)
180
- (p ("Mad Scientist" Tinker Engineer))))
179
+ (stat_sum hp_or_mp 50)
180
+ (p ("Mad Scientist" Tinker Engineer))))
181
181
 
182
182
  Thought Bender:
183
183
  (and ((xp_sum 100)
184
- (stat_sum mp 50)
185
- (p Psionist)
186
- (psionic_type advanced 2)))
184
+ (stat_sum mp 50)
185
+ (p Psionist)
186
+ (psionic_type advanced 2)))
187
187
 
188
188
  Veteran:
189
189
  (and ((xp_sum 200)
190
- (k "Lore - Local Area")))
190
+ (k "Lore - Local Area")))
191
191
 
192
192
  Villon:
193
193
  (and ((xp_sum 100)
194
- (p (Thief Assassin Spy))))
194
+ (p (Thief Assassin Spy))))
195
195
 
196
196
  == Advanced Profession Skills ==
197
197
 
@@ -227,7 +227,7 @@ Mini-Mall 10
227
227
  Atom Smasher 10
228
228
  Evolution 10
229
229
  Healthy Green Glow 10
230
- Jacobs Broken Ladder 10
230
+ Jacob's Broken Ladder 10
231
231
  Share the Love 10 Evolution
232
232
 
233
233
  == G-Man ==
@@ -341,7 +341,7 @@ The Final Cause 10 Live Again
341
341
  == Shadow ==
342
342
  Unseen Hands 10
343
343
  Lurking Threat 10
344
- Inner Circle 10 Guild Member
344
+ Inner Circle 10 Guild Membership
345
345
  Sandman 10
346
346
  Never Here 10
347
347
 
@@ -1395,168 +1395,141 @@ HN Unlock
1395
1395
  HO Vanish
1396
1396
  HP Weld
1397
1397
  HQ Wide Strike
1398
- RA Shroud of Faith
1399
- RB Guardian of the Order
1400
- RC Pillar of Strength
1401
- RD The Lone Guard
1402
- RE Wrath of the Just
1403
- RF Trademark Item
1404
- RG Dust and Bones
1405
- RH Trademark Item
1406
- RI Side Kick
1407
- RJ Smuggler's Run
1408
- RK Trademark Item
1409
- RL Don't Monologue
1410
- RM Last Word
1411
- RN Echoing Pain
1412
- RO Strong Chin
1413
- RP Tougher Than Metal
1414
- RQ Ring Out
1415
- RR New Horizons
1416
- RS Bankrolling
1417
- RT Cornered Market
1418
- RU New Design
1419
- RV Mini-Mall
1420
- RW Atom Smasher
1421
- RX Evolution
1422
- RY Healthy Green Glow
1423
- RZ s Broken Ladder
1424
- SA Share the Love
1425
- SB Evolution
1426
- SC Arrest Warrant
1427
- SD The Oath
1428
- SE Bound By Law
1429
- SF The Oath
1430
- SG Forensic Rituals
1431
- SH The Oath
1432
- SI The Oath
1433
- SJ Trained Inquisitor
1434
- SK The Oath
1435
- SL Eternal Forge
1436
- SM Internal Hearth
1437
- SN Hotrod Junkie
1438
- SO The Outside Chance
1439
- SP Servant of Iron
1440
- SQ Trinkets of the Past
1441
- SR Replacement Parts
1442
- SS Gene Splicer: Lung Expansion
1443
- ST Gene Splicer: Thick Skin
1444
- SU Gene Splicer: Eau de Zombie
1445
- SV Gene Splicer: Ice Veins
1446
- SW Gene Splicer: Infectus Mordus
1447
- SX Last Dance
1448
- SY Magic Bullet
1449
- SZ Bullet Dodger
1450
- TA Vital Fire
1451
- TB Gun-Fu
1452
- TC Ricochet
1453
- TD Gun-Fu
1454
- TE Dispatch
1455
- TF Hired Muscle
1398
+ RA Air Strike
1399
+ RB Arrest Warrant
1400
+ RC Atom Smasher
1401
+ RD Aura of Hate
1402
+ RE Avenging Angel
1403
+ RF Bankrolling
1404
+ RG Been There Did That
1405
+ RH Bound By Law
1406
+ RI Breaking Point
1407
+ RJ Brilliant!
1408
+ RK Broken Coils
1409
+ RL Broken Mirrors
1410
+ RM Bullet Dodger
1411
+ RN Burning Call
1412
+ RO Calloused Hands
1413
+ RP Cheeseburger and a Six Pack
1414
+ RQ Cornered Market
1415
+ RR Criminal Network
1416
+ RS Dark Intentions
1417
+ RT Deus ex Machina
1418
+ RU Dirty Connections
1419
+ RV Dispatch
1420
+ RW Don't Monologue
1421
+ RX Duality
1422
+ RY Dumb Luck
1423
+ RZ Dust and Bones
1424
+ SA Echoing Pain
1425
+ SB Elementary!
1426
+ SC Eternal Forge
1427
+ SD Eureka!
1428
+ SE Evolution
1429
+ SF Excelsior!
1430
+ SG Fearless is the Still Mind
1431
+ SH Fence
1432
+ SI Flesh of Iron
1433
+ SJ Forensic Rituals
1434
+ SK Gene Splicer: Eau de Zombie
1435
+ SL Gene Splicer: Ice Veins
1436
+ SM Gene Splicer: Infectus Mordus
1437
+ SN Gene Splicer: Lung Expansion
1438
+ SO Gene Splicer: Thick Skin
1439
+ SP Genius!
1440
+ SQ Gilded Daisy
1441
+ SR Gossip Hound
1442
+ SS Gracious Guest
1443
+ ST Grave Mind
1444
+ SU Guardian of the Order
1445
+ SV Guardian Spirit
1446
+ SW Gun-Fu
1447
+ SX Hail of Bullets
1448
+ SY Healthy Green Glow
1449
+ SZ Helping Hand
1450
+ TA Henchman
1451
+ TB Hired Muscle
1452
+ TC Hotrod Junkie
1453
+ TD House of Cards
1454
+ TE Hundred Fist Strike
1455
+ TF Hung Jury
1456
1456
  TG In the Zone
1457
- TH Interceptor
1458
- TI Training Ground
1459
- TJ Rebel Yell
1460
- TK Cheeseburger and a Six Pack
1461
- TL Hail of Bullets
1462
- TM Walk It Off
1463
- TN Dumb Luck
1464
- TO Psionic Dissidence
1465
- TP Burning Call
1466
- TQ Fearless is the Still Mind
1467
- TR The Culling Wall
1468
- TS One True Reality
1469
- TT Hundred Fist Strike
1470
- TU Flesh of Iron
1471
- TV Silent Introspection
1472
- TW Shatter Strike
1473
- TX Air Strike
1474
- TY Mob Mentality
1475
- TZ Broken Mirrors
1476
- UA Gilded Daisy
1477
- UB Hung Jury
1478
- UC Windfall
1479
- UD The Change
1480
- UE Avenging Angel
1481
- UF The Change
1482
- UG Wrath
1483
- UH The Change
1484
- UI Broken Coils
1485
- UJ The Change
1486
- UK Meaning of Death
1487
- UL The Change
1488
- UM Wrath
1489
- UN Memories of Many
1490
- UO Memories of Many
1491
- UP Guardian Spirit
1492
- UQ Memories of Many
1493
- UR Walking Reminder
1494
- US Memories of Many
1495
- UT Shared Strength
1496
- UU Memories of Many
1497
- UV Red Menace
1498
- UW Memories of Many
1499
- UX Henchman
1500
- UY Lair of Solitude
1501
- UZ Criminal Network
1502
- VA Deus ex Machina
1503
- VB Raise the Standard
1504
- VC Aura of Hate
1505
- VD Necessary Violence
1506
- VE Killing Zone
1507
- VF Dark Intentions
1508
- VG Sociopath Stalk
1509
- VH House of Cards
1510
- VI Simple Deduction
1511
- VJ Leap of Reason
1457
+ TH Inner Circle
1458
+ TI Inner Peace
1459
+ TJ Interceptor
1460
+ TK Internal Hearth
1461
+ TL Iron Kidney
1462
+ TM Jaded World View
1463
+ TN Killing Zone
1464
+ TO Knows A Guy
1465
+ TP Lair of Solitude
1466
+ TQ Last Dance
1467
+ TR Last Word
1468
+ TS Leap of Reason
1469
+ TT Life Giver
1470
+ TU Live Again
1471
+ TV Lurking Threat
1472
+ TW Magic Bullet
1473
+ TX Meaning of Death
1474
+ TY Memories of Many
1475
+ TZ Mental Breakdown
1476
+ UA Mini-Mall
1477
+ UB Miracle Worker
1478
+ UC Mob Mentality
1479
+ UD More To Give
1480
+ UE My Little Friend
1481
+ UF Necessary Violence
1482
+ UG Never Here
1483
+ UH New Design
1484
+ UI New Horizons
1485
+ UJ Nimble Fingers
1486
+ UK One True Reality
1487
+ UL Owed Favors
1488
+ UM Pack Mule
1489
+ UN Pillar of Strength
1490
+ UO Prior Enemies
1491
+ UP Protection Racket
1492
+ UQ Psionic Dissidence
1493
+ UR Pure Genius
1494
+ US Raise the Standard
1495
+ UT Rebel Yell
1496
+ UU Red Menace
1497
+ UV Replacement Parts
1498
+ UW Ricochet
1499
+ UX Ring Out
1500
+ UY Running Numbers
1501
+ UZ Jacob's Broken Ladder
1502
+ VA Sandman
1503
+ VB Scarred Bones
1504
+ VC Servant of Iron
1505
+ VD Share the Love
1506
+ VE Shared Strength
1507
+ VF Shatter Strike
1508
+ VG Shattered Psyche
1509
+ VH Shroud of Faith
1510
+ VI Side Kick
1511
+ VJ Silent Introspection
1512
1512
  VK Simple Deduction
1513
- VL Strategy
1514
- VM Pure Genius
1515
- VN Inner Peace
1516
- VO Life Giver
1517
- VP Live Again
1518
- VQ Miracle Worker
1513
+ VL Smuggler's Run
1514
+ VM Sociopath Stalk
1515
+ VN Strategy
1516
+ VO Strong Chin
1517
+ VP The Change
1518
+ VQ The Culling Wall
1519
1519
  VR The Final Cause
1520
- VS Live Again
1521
- VT Unseen Hands
1522
- VU Lurking Threat
1523
- VV Inner Circle
1524
- VW Guild Member
1525
- VX Sandman
1526
- VY Never Here
1527
- VZ Breaking Point
1528
- WA Gossip Hound
1529
- WB Gracious Guest
1530
- WC Helping Hand
1531
- WD More To Give
1532
- WE Calloused Hands
1533
- WF Scarred Bones
1534
- WG Jaded World View
1535
- WH Iron Kidney
1536
- WI Pack Mule
1537
- WJ Elementary!
1538
- WK Eureka!
1539
- WL Elementary!
1540
- WM Brilliant!
1541
- WN Genius!
1542
- WO Excelsior!
1543
- WP Elementary!
1544
- WQ Shattered Psyche
1545
- WR Duality
1546
- WS Shattered Psyche
1547
- WT Grave Mind
1548
- WU Shattered Psyche
1549
- WV Mental Breakdown
1550
- WW Shattered Psyche
1551
- WX My Little Friend
1552
- WY Shattered Psyche
1553
- WZ Been There Did That
1554
- XA Dirty Connections
1555
- XB Knows A Guy
1556
- XC Owed Favors
1557
- XD Prior Enemies
1558
- XE Protection Racket
1559
- XF Nimble Fingers
1560
- XG Fence
1561
- XH Running Numbers
1562
- XI Well Shit
1520
+ VS The Lone Guard
1521
+ VT The Oath
1522
+ VU The Outside Chance
1523
+ VV Tougher Than Metal
1524
+ VW Trademark Item
1525
+ VX Trained Inquisitor
1526
+ VY Training Ground
1527
+ VZ Trinkets of the Past
1528
+ WA Unseen Hands
1529
+ WB Vital Fire
1530
+ WC Walk It Off
1531
+ WD Walking Reminder
1532
+ WE Well Shit
1533
+ WF Windfall
1534
+ WG Wrath
1535
+ WH Wrath of the Just
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drpedia_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gloria Budiman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2016-12-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Extracts skills, strains, profession, and requirement trees into JSON
14
14
  email: wahyu.g@gmail.com